Rhythmbox 中未满足的依赖关系

Rhythmbox 中未满足的依赖关系

我一直遇到 Rhythmbox 问题,所以我决定卸载并重新安装,看看它是否能正常工作。安装过程中,我不断收到一条错误消息,提示

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:
 rhythmbox : Depends: librhythmbox-core6 (= 2.98-0ubuntu5) but 2.98+git20121010.c331b2df-0ubuntu1~12.04~ricotz0 is to be installed
             Depends: rhythmbox-data (= 2.98-0ubuntu5) but 2.98+git20121010.c331b2df-0ubuntu1~12.04~ricotz0 is to be installed
             Depends: gir1.2-rb-3.0 (= 2.98-0ubuntu5) but 2.98+git20121010.c331b2df-0ubuntu1~12.04~ricotz0 is to be installed
             Recommends: rhythmbox-mozilla but it is not going to be installed
             Recommends: rhythmbox-plugin-cdrecorder but it is not going to be installed
             Recommends: rhythmbox-plugin-zeitgeist but it is not going to be installed
             Recommends: rhythmbox-plugins but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我该如何解决这个问题? sudo apt-cache rhythmbox 的输出

rhythmbox:
  Installed: (none)
  Candidate: 2.98-0ubuntu5
  Version table:
     2.98+git20121010.c331b2df-0ubuntu1~12.04~ricotz0 0
        100 /var/lib/dpkg/status
     2.98-0ubuntu5 0
        500 http://us.archive.ubuntu.com/ubuntu/ raring/main i386 Packages

答案1

恢复到 Ubuntu 版本

在某个时间点,您确实安装了某个 Rhythmbox 的 PPA 版本,但您已从源中删除了 PPA。由于当前安装的版本标记为较新,即 Ubuntu 在主存储库中提供的版本,因此它仍在运行 PPA 版本。而且因为新的必须从旧的 PPA 满足依赖关系,否则会发生冲突。

要解决此问题,请尝试恢复到软件包的 Ubuntu 版本,如输出所示apt-cache policy

sudo apt-get install rhythmbox=2.98-0ubuntu5

并希望apt-get能够提出解决方案来降级其他软件包。

相关内容