在 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分支
- 选择 Ubuntu 更新
- 点击
Generate
- 生成列表后运行给出的 Curl 命令
运行以下命令:
sudo apt-get clean && sudo apt-get update && sudo apt-get upgrade
sudo apt-get install software-center