Opkg安装问题
·
问题1:satisfy_dependencies_for: Cannot satisfy the following dependencies for XXX
- 问题报错如下:
root@OpenWrt:/etc# opkg install kmod-i2c-core
Installing kmod-i2c-core (3.10.49-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/ramips/mt7620a/packages/base/kmod-i2c-core_3.10.49-1_ramips_24kec.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-i2c-core:
* kernel (= 3.10.49-1-3df3ab26a49a04478a9633bf83827ca3) *
* opkg_install_cmd: Cannot install package kmod-i2c-core.
root@OpenWrt:/etc#
- 查看本地kernel版本:
root@OpenWrt:/etc# uname -a
Linux OpenWrt 3.10.14 #11 Sun Apr 28 03:14:36 SAST 2019 mips GNU/Linux
root@OpenWrt:/etc#
- 本地kernel版本是3.10.14,与安装包要求的3.10.49不同,因而安装时发出错误提示。如果确认所安装的软件没有依赖特定版本的内核功能,同样可以在其他版本的kernel使用,在
opkg
指令后加上--nodeps
选项即可安装。
- 解决:
root@OpenWrt:/etc# opkg install kmod-i2c-core --nodeps
Package kmod-i2c-core (3.10.49-1) installed in root is up to date.
root@OpenWrt:/etc#
更多推荐
已为社区贡献3条内容
所有评论(0)