卸载 Gnome 3 后丢失设置菜单和 Unity 镜头

卸载 Gnome 3 后丢失设置菜单和 Unity 镜头

我在 Ubuntu 13.10 中安装了 gnome 3,后来我决定删除它。现在一切都消失了。当我右键单击桌面时,我无法访问设置,除了社交和网络消息之外,所有 Unity 镜头都消失了。所以我无法从 Unity 启动器访问任何程序,只能访问我固定在侧边栏的程序。

在终端我试过

apt-get install gnome-control-center

但我收到以下消息

The following packages have unmet dependencies.
 gnome-control-center : Depends: gnome-control-center-data (< 1:3.7) but 1:3.8.3-0ubuntu1~raring2 is to be installed
E: Unable to correct problems, you have held broken packages.

我猜当我删除 Gnome 3 时它破坏了一些软件包,而我不确定如何恢复它们。

我从 PPA 安装了 gnome 3

sudo apt-get install ubuntu-desktop输出

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.
 ubuntu-desktop : Depends: gnome-control-center but it is not going to be installed
                  Recommends: gnome-control-center-unity but it is not going to be installed
                  Recommends: xul-ext-webaccounts but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

-f install outputs

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sudo apt-get check输出

Reading package lists... Done
Building dependency tree       
Reading state information... Done



sudo apt-get install aptitude && sudo aptitude -fy install ubuntu-desktop

它说安装了 6 个包但实际上并没有安装。

The following NEW packages will be installed:
gnome-control-center{ab} gnome-control-center-signon{a} 
gnome-control-center-unity ubuntu-desktop webaccounts-extension-common{a} 
xul-ext-webaccounts 
0 packages upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 655 kB/729 kB of archives. After unpacking 4,667 kB will be used.
The following packages have unmet dependencies:
gnome-control-center : Depends: gnome-control-center-data (< 1:3.7) but
1:3.8.3-0ubuntu1~raring2 is installed.

The following actions will resolve these dependencies:

Keep the following packages at their current version: 
1)  gnome-control-center [Not Installed]                
2)  gnome-control-center-signon [Not Installed]         
3)  gnome-control-center-unity [Not Installed]          
4)  ubuntu-desktop [Not Installed]                      
5)  webaccounts-extension-common [Not Installed]        
6)  xul-ext-webaccounts [Not Installed]                 

Leave the following dependencies unresolved:          
7)   ubuntu-desktop recommends gnome-control-center-unity


  No packages will be installed, upgraded, or removed.
  0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 Need to get 0 B of archives. After unpacking 0 B will be used.

答案1

尝试sudo apt-get install ubuntu-desktop看看它是否重新安装可能已被删除的软件包。

我认为sudo apt-get -f install可能会修复损坏的包裹。

由于您使用了 PPA,因此您需要执行 PPA 清除。这里有一些关于在 Ubuntu 13.04 中安装 Gnome 3.8 以及如何恢复的信息:http://www.webupd8.org/2013/03/gnome-38-beta-available-in-ppa-for.html

这里有关于 Ubuntu 13.10 和 Gnome 3.10 以及清除的其他信息:http://www.webupd8.org/2013/09/how-to-install-gnome-310-in-ubuntu-1310.html

我猜测现阶段的清除可能不会成功,但请先尝试一下。

相关内容