无法使用 Ubuntu 软件中心或更新 Ubuntu 14.04

无法使用 Ubuntu 软件中心或更新 Ubuntu 14.04

我似乎无法使用 Ubuntu 软件中心安装任何东西或更新我的 Ubuntu 版本。

当我运行时sudo apt-get -f install这是输出:

matt@Bessie:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
 kde-l10n-engb
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 309 not upgraded.
5 not fully installed or removed.
Need to get 0 B/28.9 MB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package oxygen-icon-theme (--configure):
package oxygen-icon-theme is not ready for configuration
cannot configure (current status `half-installed')
dpkg: dependency problems prevent configuration of kde-runtime:
kde-runtime depends on oxygen-icon-theme (>= 4:4.6); however:
 Package oxygen-icon-theme is not installed.
dpkg: error processing package kde-runtime (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qapt-batch:
 qapt-batch depends on kde-runtime; however:
  Package kde-runtime is not configured yet.

dpkg: error processing package qapt-batch (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kubuntu-debug-installer:
 kubuntu-debug-installer depends on kde-runtime; however:
  Package kde-runtime is not configured yet.
 kubuntu-debug-installer depends on qapt-batch; however:
  Package qapt-batch is not configured yet.

dpkg: error processing package kubuntu-debug-installer (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                         No apport report written because the error message indicates it's a followup error from a previous failure.
                         No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of quassel:
quassel depends on kde-runtime; however:
 Package kde-runtime is not configured yet.

dpkg: error processing package quassel (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 oxygen-icon-theme
 kde-runtime
 qapt-batch
 kubuntu-debug-installer
 quassel
E: Sub-process /usr/bin/dpkg returned an error code (1)

我对此还没有太多经验,所以我不知道发生了什么。我猜可能是它列出的错误,但我不确定如何修复它们。

答案1

正如您引用的错误消息中所述,oxygen-icon-theme它“安装一半”,并阻止了其余部分。请尝试以下操作:

sudo dpkg --force-remove-reinstreq --remove oxygen-icon-theme

这应该可以解决你的问题

相关内容