尝试在 saucy 中安装 gnome shell

尝试在 saucy 中安装 gnome shell

我尝试在 saucy 中安装 gnome-shell,但不起作用。我在 Mac 上的 parallels 桌面中安装了 13.10。

sudo apt-get install gnome-shell
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-shell : Depends: gir1.2-clutter-1.0 (>= 1.11.11) but it is not installable
               Depends: gir1.2-mutter-3.0 (>= 3.8.3) but it is not going to be installed
               Depends: gir1.2-telepathyglib-0.12 but it is not installable
               Depends: gir1.2-accountsservice-1.0 but it is not installable
               Depends: gir1.2-gcr-3 (>= 3.7.5) but it is not installable
               Depends: gir1.2-gkbd-3.0 but it is not installable
               Depends: gir1.2-gnomedesktop-3.0 (>= 3.7.90) but it is not installable
               Depends: gir1.2-nmgtk-1.0 but it is not installable
               Depends: gir1.2-polkit-1.0 but it is not installable
               Depends: gir1.2-telepathylogger-0.2 (>= 0.8.0) but it is not installable
               Depends: gir1.2-upowerglib-1.0 but it is not installable
E: Unable to correct problems, you have held broken packages.

答案1

尝试通过添加存储库来安装最新版本:ppa:gnome3-team/gnome3

请遵循以下简单步骤:

  • 打开终端并执行以下命令:

    sudo add-apt-repository ppa:gnome3-team/gnome3
    sudo apt-get -f update
    sudo apt-get install gnome-shell ubuntu-gnome-desktop
    
  • 如果一切顺利,请注销并选择侏儒从列表中。

    注意:安装时如果仍然说无法安装库或其他一些包,那么请考虑添加一个存储库:

    sudo add-apt-repository ppa:gnome3-team/gnome3-staging && sudo apt-get -f update
    

    然后尝试再次安装。

如果您遇到任何问题并且想要删除软件包和存储库,那么您可以使用 ppa-purge 安全地删除它。

  • 安装ppa-purge

    sudo apt-get install ppa-purge
    
  • 然后删除包:

    sudo ppa-purge ppa:gnome3-team/gnome3
    sudo ppa-purge ppa:gnome3-team/gnome3-staging
    sudo apt-get -f update
    sudo apt-get remove gnome-shell ubuntu-gnome-desktop
    

相关内容