![系统网络服务与此版本 Ubuntu 14.04 不兼容导致 libnl 降级的问题](https://linux22.com/image/1133177/%E7%B3%BB%E7%BB%9F%E7%BD%91%E7%BB%9C%E6%9C%8D%E5%8A%A1%E4%B8%8E%E6%AD%A4%E7%89%88%E6%9C%AC%20Ubuntu%2014.04%20%E4%B8%8D%E5%85%BC%E5%AE%B9%E5%AF%BC%E8%87%B4%20libnl%20%E9%99%8D%E7%BA%A7%E7%9A%84%E9%97%AE%E9%A2%98.png)
命令执行后:sudo dpkg -i lib*.deb
对于文件:
libnl-route-3-200_3.2.21-1_amd64.deb
libnl-genl-3-200_3.2.21-1_amd64.deb
libnl-3-200-dbg_3.2.21-1_amd64.deb
我遇到了一个问题:
dpkg: error processing package libnl-3-200-dbg (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnl-genl-3-200:amd64:
libnl-genl-3-200:amd64 depends on libnl-3-200 (= 3.2.21-1); however:
Version of libnl-3-200:amd64 on system is 3.2.21-1ubuntu1.
dpkg: error processing package libnl-genl-3-200:amd64 (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libnl-route-3-200:amd64:
libnl-route-3-200:amd64 depends on libnl-3-200 (= 3.2.21-1); however:
Version of libnl-3-200:amd64 on system is 3.2.21-1ubuntu1.
即使我尝试在安装之前删除 libnl:
$ sudo dpkg -r libnl-genl-3-200:amd64
dpkg: dependency problems prevent removal of libnl-genl-3-200:amd64:
network-manager depends on libnl-genl-3-200 (>= 3.2.7).
crda depends on libnl-genl-3-200 (>= 3.2.7).
plainbox-provider-resource-generic depends on libnl-genl-3-200 (>= 3.2.7).
iw depends on libnl-genl-3-200 (>= 3.2.3).
wpasupplicant depends on libnl-genl-3-200 (>= 3.2.7).
dpkg: error processing package libnl-genl-3-200:amd64 (--remove):
dependency problems - not removing
Errors were encountered while processing:
libnl-genl-3-200:amd64
请帮忙!
答案1
我在使用 VMware 客户机时遇到了这个问题。根本原因是我启用了 trusty-proposed 存储库。我个人不会再这样做了。我的解决办法是重新安装。我选择这个选项是因为它是一个测试虚拟机。据我了解,修复物理机的方法是使用 sneakernet 跨越以前的 deb 文件来回滚破坏网络的升级,然后使用 sudo dpkg -i 安装它们。
答案2
您需要安装libnl-3-200_3.2.21-1_amd64.deb
,而不是libnl-3-200-dbg_3.2.21-1_amd64.deb
(请注意额外的-dbg
)执行建议修复。请确认您下载了正确的包文件,删除不需要的包文件,然后重试。