安装 Geary 时出现依赖关系问题

安装 Geary 时出现依赖关系问题

我刚刚全新安装了 Ubuntu Gnome 13.10,并尝试在添加 Yorba ppa 后安装 Geary。每次我都会得到以下返回信息sudo apt-get install geary

[sudo] password for tim: 
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:
 geary : Depends: libwebkitgtk-3.0-0 (< 2.1.0) but 2.2.1-2ubuntu1~ubuntu14.04.1~ppa0 is to be installed
E: Unable to correct problems, you have held broken packages.

有人能帮忙吗?根据我在不同论坛上读到的内容,我尝试了很多不同的方法,但似乎都没有用。

任何帮助都值得感激。谢谢。

答案1

当前版本libwebkitgtk-3.0-0是 Ubuntu 13.10 上的 1.10.2-0ubuntu3。

首先,检查当前版本:

dpkg -l | grep libwebkitgtk-3.0-0

如果它的版本低于(<)2.1.0,则阻止其升级:

sudo apt-mark hold libwebkitgtk-3.0-0

如果它优于(>)2.1.0,则必须安装旧版本,但这有破坏 Gnome 安装的风险。最好的办法是找到为 > 2.1.0 构建的 Geary PPA

相关内容