运行opkg install bmon
后,我收到此错误:
root@OpenWrt:~# opkg install bmon
Installing bmon (4.0-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages/bmon_4.0-1_ar71xx.ipk.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Installing libncursesw (5.9-3) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/libncursesw_5.9-3_ar71xx.ipk.
Configuring iftop.
//usr/lib/opkg/info/iftop.postinst: line 4: default_postinst: not found
Collected errors:
* check_data_file_clashes: Package libncursesw wants to install file /usr/lib/libform.so
But that file is already provided by package * libncurses
* check_data_file_clashes: Package libncursesw wants to install file /usr/lib/libmenu.so
But that file is already provided by package * libncurses
* check_data_file_clashes: Package libncursesw wants to install file /usr/lib/libncurses.so
But that file is already provided by package * libncurses
* check_data_file_clashes: Package libncursesw wants to install file /usr/lib/libpanel.so
But that file is already provided by package * libncurses
* opkg_install_cmd: Cannot install package bmon.
* pkg_run_script: package "iftop" postinst script returned status 127.
* opkg_configure: iftop.postinst returned 127.
我已经搜索了很长一段时间,但关于bmon的信息很少。
这是我的opkg.conf
root@OpenWrt:~# cat /etc/opkg.conf
#src/gz attitude_adjustment http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
src/gz chaos_calmer_base http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base
src/gz chaos_calmer_packages http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages
src/gz chaos_calmer_luci http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci
src/gz chaos_calmer_routing http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing
src/gz chaos_calmer_telephony http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony
src/gz chaos_calmer_management http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management
答案 0 :(得分:0)
从日志看来,bmon似乎依赖于libncursesw,它试图安装一些已经可以从libncurses获得的文件。 由于两个软件包具有相似的功能,因此您可以通过
强制安装opkg --nodeps install bmon
这将安装所需的包但保留依赖项。