每次我尝试在 Kali Linux 2.0 上安装软件中心时。它说:
某些软件包无法安装。这可能意味着您请求了一种不可能的情况,或者如果您使用的是不稳定的发行版,某些所需的软件包尚未创建或已移出传入。以下信息可能有助于解决问题:
The following packages have unmet dependencies: software-center : Depends: aptdaemon (>= 0.40) but it is not going to be installed Depends: python-gobject (>= 3.0) but it is not going to be installed Depends: python-gobject-cairo 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: gir1.2-launchpad-integration-3.0 but it is not installable Recommends: software-properties-gtk but it is not going to be installed Recommends: sessioninstaller but it is not installable E: Unable to correct problems, you have held broken packages.
我可以做什么来解决这个问题?
答案1
这意味着什么
本质上,这意味着某些程序要么没有安装,要么升级得不够。
该怎么办
要解决此问题,您应该运行命令
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install software-center
如果这不起作用,则去安装/升级每个单独的依赖项(例如sudo apt-get install python-aptdaemon
)...