安装 Everpad - 未满足的依赖项 - libgtk2.0-0(= 2.24.23-0ubuntu1)但需要安装 2.24.23-0ubuntu1.1

安装 Everpad - 未满足的依赖项 - libgtk2.0-0(= 2.24.23-0ubuntu1)但需要安装 2.24.23-0ubuntu1.1

我对 Ubuntu 还很陌生,但很想掌握它。我尝试在 Ubuntu 14.04 上安装 Everpad。存储库已添加到 source.list,存储库密钥也已注册。

存在未满足的依赖项。有没有什么办法可以解决 libgtk2.0-0 问题?到目前为止,无论缺少什么依赖项,我都不会强制 apt-get 安装 everpad。

我的 Ubuntu 每天都会更新,但我没有在 aptitude 中保护 libgtk2.0-0 不被更新。

$ sudo apt-get install everpad
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:
everpad : Depends: gtk2-engines-pixbuf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install gtk2-engines-pixbuf
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:
 gtk2-engines-pixbuf : Depends: libgtk2.0-0 (= 2.24.23-0ubuntu1) but  
2.24.23-0ubuntu1.1 is to be installed
E: Unable to correct problems, you have held broken packages.

$ sudo apt-get install libgtk2.0-0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgtk2.0-0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

答案1

我使用 aptitude 降级了 4 个库,解决了依赖性问题。Aptitude 将显示问题的解决方案,并接受降级的解决方案以解决问题。

以下是有关 aptitude 的更多信息 通用能力倾向测验指南

Everpad 现在运行良好。

答案2

我最近遇到了同样的问题;我发现我必须在软件更新(更新选项卡)中启用推荐的更新(ubuntu 14.04 中的 trusty-updates);这允许系统下载最新版本的软件包;

相关内容