我无法在 Ubuntu 14.04 中安装 Pantheon Greeter

我无法在 Ubuntu 14.04 中安装 Pantheon Greeter

我想在 Ubuntu 14.04 中的 Elementary OS 中安装 pantheon Greeter。当我按照网络上的每个教程进行操作时,我在终端中得到了它:

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: 

pantheon-greeter : Depends: libgranite3 (>= 0.2.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.*

到底是怎么回事?

答案1

在我的搜索中,libgranite3 (>= 0.2.0) 不适用于 14.04

参考这里

因此在安装之前pantheon 我们需要添加以下内容PPA(将安装 libgranite3):

打开终端并在终端中运行以下命令

sudo add-apt-repository ppa:elementary-os/daily
sudo add-apt-repository ppa:elementary-os/os-patches
sudo apt-get update
sudo apt-get install pantheon-greeter

笔记:安装后删除 PPA

以供参考这里


测试结果

sudo apt-get install pantheon-greeter
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-json-1.0 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  apport-hooks-elementary contractor libatk1.0-0 libatk1.0-data libcairo2
  libgail-3-0 libglib2.0-0 libglib2.0-bin libgranite-common libgranite3
  libgtk-3-0 libgtk-3-common libpango-1.0-0 libpango1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libpangoxft-1.0-0 libwayland-client0 libwayland-cursor0
 numlockx
The following NEW packages will be installed:
  apport-hooks-elementary contractor libgranite-common libgranite3 numlockx
  pantheon-greeter
 The following packages will be upgraded:
  libatk1.0-0 libatk1.0-data libcairo2 libgail-3-0 libglib2.0-0 libglib2.0-bin
 libgtk-3-0 libgtk-3-common libpango-1.0-0 libpango1.0-0 libpangocairo-1.0-0
  libpangoft2-1.0-0 libpangoxft-1.0-0 libwayland-client0 libwayland-cursor0
    15 upgraded, 6 newly installed, 0 to remove and 119 not upgraded.
Need to get 11.5 MB of archives.
   After this operation, 29.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]

相关内容