zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    点语法
    第一个OC的类
    gitlab教程
    php接收post的json数组
    phpstorm10.0.2三月22号补丁原来的网址被封了
    冰点下载器在转换pdf的时候出现停止工作
    乱码问题
    有用的网址(php)
    ubuntu16.04安装mysql5.6
    MapUtils常用方法
  • 原文地址:https://www.cnblogs.com/rohens-hbg/p/5120637.html
Copyright © 2011-2022 走看看