OpenWrt Forum Archive

Topic: host sflow can not be installed

The content of this topic has been archived on 3 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi all expert,

I am trying to install host sflow on my openwrt router , but not ok,

root@OpenWrt:~# opkg install hsflowd
Installing hsflowd (2.0.11-1) to root...
Collected errors:
* opkg_download_pkg: Package hsflowd is not available from any configured src.
* opkg_install_pkg: Failed to download hsflowd. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package hsflowd.
root@OpenWrt:~#

then i try to download the hsflowd package and install it manually , but still not works,



root@OpenWrt:~# opkg install hsflowd-ubuntu14_2.0.11-1_amd64.deb
Installing hsflowd (2.0.11-1) to root...
sh: /tmp/opkg-83bSaL/hsflowd-L0jaqN/preinst: not found
Collected errors:
* pkg_run_script: package "hsflowd" preinst script returned status 127.
* preinst_configure: Aborting installation of hsflowd.
* opkg_install_cmd: Cannot install package hsflowd.

can anyone help me on this ?

Are you trying to install an ubuntu (.deb) package in OpenWrt? The arquitectures are different, you have to cross-compile the package until you get a .ipk file and then run opkg install <package-name>.

hsflowd is in the "oldpackages" on barrier_breaker/14.07. But I can't find it in later versions. Maybe the old package can be compiled using the SDK, which can be downloaded where you find the images.

Old package: https://dev.openwrt.org/browser/packages/net/hsflowd/

The discussion might have continued from here.