我不知道它是如何被卸载的,因为我以前安装过它,但是当我尝试再次安装它时出现以下错误:
oierlauzi@akerbeltz:~$ sudo apt-get install unity-control-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:
unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我读过几个答案,但没有一个能解决我的问题。我也无法使用 aptitude 来解决这个问题。
答案1
当我升级到 ubuntu 14.04 时,我收到很多类似这样的依赖错误。原来在更新过程中,许多软件源被停用,需要进入软件中心重新激活它们。编辑->软件源->其他软件,然后再次检查所有源。
答案2
您可以先尝试以下操作:
sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade
最后两行只是为了确保存储库和缓存没有错误。另一种方法是:
sudo apt-get --fix-missing install
另一种方法是实际安装它们所依赖的包。
sudo apt-get install libcheese-gtk23 libcheese7
sudo apt-get -f install`