首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >能否在Openwrt下使用opkg安装bmon?

能否在Openwrt下使用opkg安装bmon?
EN

Stack Overflow用户
提问于 2017-06-04 06:44:50
回答 1查看 2K关注 0票数 0

在运行opkg install bmon之后,我得到了以下错误:

代码语言:javascript
复制
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

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

发布于 2017-06-05 09:13:21

从日志来看,bmon似乎依赖libncursesw,libncursesw试图安装一些已经可以从libncurses获得的文件。由于这两个包都具有类似的功能,所以可以通过

opkg -nodeps安装bmon

这将安装所需的包,但保留依赖项。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44351463

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档