尝试运行时sudo apt-get install xserver-xorg-video-nouveau xorg-video-abi-15
出现以下错误,有什么解决办法吗?
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: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
输出sudo apt-get install libcheese-gtk23 libcheese7
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcheese-gtk23 is already the newest version.
libcheese-gtk23 set to manually installed.
libcheese7 is already the newest version.
libcheese7 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
和apt-cache policy xserver-xorg-video-nouveau xorg-video-abi-15 libcheese-gtk23 libcheese7
xserver-xorg-video-nouveau:
Installed: (none)
Candidate: 1:1.0.10-1ubuntu2
Version table:
1:1.0.10-1ubuntu2 0
500 http://mirror.23media.de/ubuntu/ trusty/main amd64 Packages
xorg-video-abi-15:
Installed: (none)
Candidate: (none)
Version table:
libcheese-gtk23:
Installed: 3.10.2-0ubuntu2
Candidate: 3.10.2-0ubuntu2
Version table:
*** 3.10.2-0ubuntu2 0
500 http://mirror.23media.de/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
libcheese7:
Installed: 3.10.2-0ubuntu2
Candidate: 3.10.2-0ubuntu2
Version table:
*** 3.10.2-0ubuntu2 0
500 http://mirror.23media.de/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
答案1
警告!请勿删除并重新安装libcheese-gtk23
或libcheese7
,如果这样做:它将起作用,但重启后:X11 失败,您需要重新安装 ubuntu!
尝试安装(如果失败,请不要强制安装)
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get -f install -y
sudo apt-get install libgl1-mesa-dev-lts-utopic libglu1-mesa-dev
编辑:可能是这个
sudo add-apt-repository ppa:xorg-edgers/ppa && sudo apt-get update
sudo ppa-purge ppa:xorg-edgers/ppa && sudo apt-get update
来源:系统设置不再显示