Ubuntu 软件中心:无法纠正问题,您持有损坏的软件包

Ubuntu 软件中心:无法纠正问题,您持有损坏的软件包

在 Ubuntu 14.04 LTS 上找不到软件包 software-center。

我尝试通过终端安装它,但最终出现以下错误:

ravip@LP204:~$ sudo apt-get install software-center
[sudo] password for ravip: 
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:
 software-center : Depends: software-center-aptdaemon-plugins but it is not going to be installed
                   Depends: python-gi but it is not going to be installed
                   Depends: python-gi-cairo but it is not going to be installed
                   Depends: python-aptdaemon (>= 0.40) but it is not going to be installed
                   Depends: python-aptdaemon.gtk3widgets but it is not going to be installed
                   Depends: oneconf (>= 0.2.6) but it is not going to be installed
                   Recommends: software-properties-gtk but it is not going to be installed
                   Recommends: sessioninstaller but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

所有Depends软件包Recommends均已安装且为最新版本。

我该如何解决?

答案1

Ubuntu 源列表生成器

  1. 选择国家
  2. 选择发布
  3. 选择Ubuntu分支
  4. 选择 Ubuntu 更新
  5. 点击Generate
  6. 生成列表后运行给出的 Curl 命令

运行以下命令:

sudo apt-get clean && sudo apt-get update && sudo apt-get upgrade
sudo apt-get install software-center

相关内容