我如何才能找回软件中心?从 16.04 更新到 16.10 后,它消失了。当我尝试找回它时,我在终端中看到的内容如下:
odin@odin-H61M-S2-B3:~$ sudo apt-get install software-center
[sudo] password for odin:
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: python-aptdaemon (>= 0.40) but it is not going to be installed
Depends: python-aptdaemon.gtk3widgets 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.
odin@odin-H61M-S2-B3:~$
答案1
我设法使用 Synaptic Manager 解决了该问题(按照 David Thefan 的建议),我找到了软件包 software-center 并安装了它,因此 Ubuntu 软件又回来了。感谢您的回复和建议。
答案2
您是否启用了任何不稳定或反向移植的存储库?
请运行cat /etc/apt/sources.list
并发布输出?
应该有两行如下所示的内容:
deb http://gb.archive.ubuntu.com/ubuntu/ yakkety-backports restricted multiverse main universe
deb http://gb.archive.ubuntu.com/ubuntu/ yakkety-proposed restricted multiverse main universe
它们前面可能有或没有“#”。如果没有,请运行命令:
sudo nano /etc/apt/sources.list
并添加它们,然后保存文件并运行命令:
sudo apt-get autoclean && sudo apt-get update
并尝试重新安装软件中心。