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


卸載了包 :

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM