当我尝试从终端启动 gnome-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:
gnome-control-center : Depends: libcheese-gtk25 (>= 3.18.0) but it is not going to be installed
Depends: libcheese8 (>= 3.18.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我也无法从 GUI 启动它。
答案1
你好,我最近遇到了同样的问题,我可以这样解决:
总结
sudo apt-get install cheese-common
解释
造成这种情况的原因是 gnome-control-center 依赖于 cheese,我猜是用户模块,这样您就可以将个人资料图片设置为用相机拍摄的图像。我通过遵循所需的依赖项解决了这个问题,首先尝试:
sudo apt-get install libcheese-gtk25
您发布的错误消息中提到了这一点(我也收到过)。然后它指出:
libcheese-gtk25 : Depende: libcheese8 (>= 3.18.0) pero no va a instalarse
Depende: cheese-common (= 3.18.1-2ubuntu1~wily1) pero 3.16.1-1ubuntu2 va a ser instalado
最后我尝试使用 cheese-common,解决了这个问题
希望能帮助到你。
问候。