我如何克服这些包依赖问题?

Mat*_*lse 6 apt

我升级到 11.10 并在升级过程中断电。将盒子重新打开后,我尝试继续升级,并一度进行了部分升级以解决我当时认为与升级失败有关的依赖关系问题。现在我有一个大部分的工作系统。问题是由于依赖错误,我无法再安装“acroread”包:

~ $ sudo apt-get install acroread
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 acroread : Depends: nspluginwrapper but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

~ $ sudo apt-get install nspluginwrapper

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nspluginwrapper : Depends: nspluginviewer (= 1.4.4-0ubuntu3)
E: Unable to correct problems, you have held broken packages.

 ~ $ sudo apt-get install nspluginviewer
Run Code Online (Sandbox Code Playgroud)

电阻

eading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 nspluginviewer:i386 : Depends: libgtk2.0-0:i386 (>= 2.8.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

我正在运行 64 位,但似乎 acroread 需要一些无法安装的 32 位库。在我的阅读中,我发现多架构包有一些变化。

有谁知道我如何修复我的系统来解决这个问题?

Pra*_*eek 5

试试sudo apt-get install -f。它可能会给出一些关于删除和安装软件包的建议,做一些看起来合理的事情。如果这没有帮助,请尝试启动到恢复模式并选择“修复损坏的包”。如果那不起作用...我不知道,如果我是你,我会重新安装 Ubuntu。(这是始终将 /home 放在单独分区上的一个很好的理由!)