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#
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐


所有评论(0)