我在我的 ubuntu 上看不到软件中心,所以我参考了这个答案,然后我看到了损坏的软件包,所以我尝试了一下,sudo apt-get install -f
但它说0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
。当我尝试使用下面的命令安装软件中心时,错误弹出。
root@gautam-Inspiron-3542:~# sudo apt install software-center
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.
任何帮助解决此问题的建议都将不胜感激。