卸载了包 :

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

satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage:的更多相关文章

  1. 初始Openwrt

    系统结构 在上一章我们已经完成了刷机工作,这个时候系统进行了首次启动,并且格式化了它的"可写"分区.那么在设备里分区到底是怎么样进行的呢?我们首先需要知道:不同的处理器下OpenW ...

  2. 路由器04--OPKG

    1.简介 https://oldwiki.archive.openwrt.org/doc/techref/opkg Opkg 是一个基于 ipkg 的轻量级的软件包管理系统,主要用于嵌入式系统,目前应 ...

  3. 路由器02---PandoraBox配置

    1.安装libc 什么是libc,这里贴一个gnu官方的解释 Any Unix-like operating system needs a C library: the library which d ...

  4. (转)Linux设备驱动之HID驱动 源码分析

    //Linux设备驱动之HID驱动 源码分析 http://blog.chinaunix.net/uid-20543183-id-1930836.html HID是Human Interface De ...

  5. Makefiles 介绍

    http://www-personal.umich.edu/~ppannuto/writings/makefiles.html Makefiles Makefiles (or, the GNU aut ...

  6. apt-get 总结

    转自: apt-get 总结 1.apt-get install <package_name> install a new package. 2.apt-get build-dep < ...

  7. Stateful Kubernetes Applications Made Easier: PSO and FlashBlade

    转自:https://medium.com/@joshua_robinson/stateful-kubernetes-applications-made-easier-pso-and-flashbla ...

  8. 架构:The Onion Architecture : part 2(洋葱架构:第二篇)(转载)

    原位地址:http://jeffreypalermo.com/blog/the-onion-architecture-part-2/. In part 1, I introduced an archi ...

  9. apt-get build-dep

    apt-get 里面有个 build-dep参数,手册写着:build-dep causes apt-get to install/remove packages in an attempt to s ...

随机推荐

  1. dirty cow exp

    公司搞底层的改了一下,说做到了几个不死机 /* * (un)comment correct payload first (x86 or x64)! * * $ gcc cowroot.c -o cow ...

  2. 上锁 - leetcode

    158. Read N Characters Given Read4 II - Call multiple times 题目: The API: int read4(char *buf) reads ...

  3. char、varchar、varchar(2)的区别

    char是存储字节是一定的,例如char(10),存储内容为"java",那么实际存储的是"java      ",后面是6个空字符.按字节存储: varcha ...

  4. Information:java: javacTask: 源发行版 1.8 需要目标发行版 1.8

    1,Project Structure里确认两个地方:Project sdk以及project language level 2,Project Structure->Modules里Sourc ...

  5. CodeForces 711D Directed Roads

    计数,模拟. 首先观察一下给出的图的特点: $1.$一定存在环. $2.$可能存在多个环. 我们对每个环计算方案数,假设环$C$上包含$x$条边,那么把环$C$破坏掉的方案数有${2^x} - 2$种 ...

  6. 使用python之环境管理

      情景1:不同python版本的管理 同一电脑上的多个python版本之前的管理,为了突出问题的普遍存在,下面是有人在segmentfault上提的问题. 摘自:http://segmentfaul ...

  7. ELK 日志系统搭建配置

    logstash是一个数据分析软件,主要目的是分析log日志.整一套软件可以当作一个MVC模型,logstash是controller层,Elasticsearch是一个model层,kibana是v ...

  8. moodle笔记之-权限api

    <?php//权限定义$capabilities = array( 'mod/mytest:managefiles' => array(//具体的权限:插件类型/插件名/权限 这里是增加一 ...

  9. ccf cv讲座记录

  10. vg