satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage:

原文:http://www.cnblogs.com/rohens-hbg/p/5120637.html

卸载了包 :

opkg remove kmod-ath9k - 3.10.49+2014-05-22-1

重新进行安装时出现如下错误:

root@hbg:/tmp# opkg install /tmp/kmod-cfg80211_3.10.49+2014-05-22-1_ar71xx.ipk 
Installing kmod-cfg80211 (3.10.49+2014-05-22-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-cfg80211:
 *      kernel (= 3.10.49-1-935023aadcc429583511c911eb7e5dbf) * 
 * opkg_install_cmd: Cannot install package kmod-cfg80211.

查看当前编译时使用的kernel配置:

hbg@root:~/test/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/packages/ipkg-ar71xx/kernel/CONTROL$

里面的control文件

得到:Version: 3.10.49-1-df26e12aa07bfcf42c989a3a108d9f47

跟安装时的对比

        kernel  :3.10.49-1-935023aadcc429583511c911eb7e5dbf

存在差异。

百度后,需要使用后缀 --force-depends

但是没有起作用:

 root@hbg:/tmp# opkg install /tmp/kmod-cfg80211_3.10.49+2014-05-22-1_ar71xx.ipk  --force-depends
Installing kmod-cfg80211 (3.10.49+2014-05-22-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-cfg80211:
 *      kernel (= 3.10.49-1-935023aadcc429583511c911eb7e5dbf) 

 

最后使用这个 --nodeps 解决, 但是用这种方法安装了大量的内核模块,有些功能是缺失的,最后,只好自己重新编译(不知道为什么自己编译的内核总是不如官网提供的稳定)

root@hbg:/tmp# opkg install /tmp/kmod-cfg80211_3.10.49+2014-05-22-1_ar71xx.ipk 
   --nodeps
Installing kmod-cfg80211 (3.10.49+2014-05-22-1) to root...
Configuring kmod-cfg80211

 

kernel是个匿名的隐藏包

root@OpenWrt:~# opkg install kernel
Package kernel (3.3.8-1-2a0edb5ba0d101ae0bb84a44e4344525) installed in root is up to date.

备注:
查看已经安装的模块
lsmod
 
删除模块
rmmod 模块
需要先删除关联的模块
 
删除:opkg remove   *.ipk
安装:opkg install  *.ipk
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值