我从 webupd8 的 ppas 安装了最新的 gnome3,但不知何故却破坏了我的系统。
在执行 ppa-purge 时,它以某种方式决定删除 ubuntu-desktop 元包
现在,当我尝试回到纯 Ubuntu 时,我尝试了这个:
sudo apt-get install ubuntu-desktop
并得到这个:
ubuntu-desktop : Depends: eog but it is not going to be installed
Depends: gnome-control-center but it is not going to be installed
Depends: gnome-session but it is not going to be installed
Depends: nautilus but it is not going to be installed
Depends: nautilus-sendto but it is not going to be installed
Depends: unity but it is not going to be installed
Recommends: gnome-screensaver but it is not going to be installed
Recommends: libgail-3-common but it is not going to be installed
Recommends: nautilus-share but it is not going to be installed
Recommends: totem but it is not going to be installed
Recommends: totem-mozilla but it is not going to be installed
Recommends: ubuntuone-client-gnome but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
尝试安装其中任何一个都会导致更多依赖项无法安装。
我如何“取消保留损坏的包裹”以回到可以安装 nautilus 的位置?
答案1
我能够修复它!以下是我的步骤:
- 重新启用额外的 repos。
- ppa-purge 这些 repos 并确保删除所有受影响的包。
- apt-get 更新 && apt-get dist-upgrade
- apt-get 安装 ubuntu 桌面 gdm
就这样吧。我的一些应用程序被卸载了,但所有配置数据都完好无损,现在一切都恢复正常了!
答案2
全新安装会比在当前安装上降级 gnome 更加顺利。
如果您确实选择重新安装,刚刚发布的 10.04-4 LTS 可能是个不错的选择。