系统网络服务与此版本 Ubuntu 14.04 不兼容导致 libnl 降级的问题

系统网络服务与此版本 Ubuntu 14.04 不兼容导致 libnl 降级的问题

命令执行后: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

请帮忙!

从这里解决 -“系统网络服务与此版本不兼容” - ubuntu 14.04

答案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)执行建议修复。请确认您下载了正确的包文件,删除不需要的包文件,然后重试。

相关内容