需要解决安装依赖项

需要解决安装依赖项

我正在尝试安装,librhythmbox-core8但当我运行命令时它失败了。

安装

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 gir1.2-rb-3.0 : Depends: librhythmbox-core8 (>= 3.0.1) but it is not installed
 rhythmbox : Depends: librhythmbox-core8 (= 3.0.1-1ubuntu2~ppa0) but it is not installed
 rhythmbox-plugin-cdrecorder : Depends: librhythmbox-core8 (>= 3.0) but it is not installed
 rhythmbox-plugins : Depends: librhythmbox-core8 (= 3.0.1-1ubuntu2~ppa0) but it is not installed
E: Unmet dependencies. Try using -f.  

apt-get -f 安装

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gir1.2-gconf-2.0 gir1.2-zeitgeist-2.0 python3-mako python3-markupsafe rhythmbox-plugins
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  librhythmbox-core8
The following NEW packages will be installed:
  librhythmbox-core8
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 0 B/816 kB of archives.
After this operation, 1,825 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 259967 files and directories currently installed.)
Unpacking librhythmbox-core8 (from .../librhythmbox-core8_3.0.1-1ubuntu2~ppa0_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/librhythmbox-core8_3.0.1-1ubuntu2~ppa0_i386.deb (--unpack):
 trying to overwrite '/usr/lib/librhythmbox-core.so.8.0.0', which is also in package librhythmbox-core7 3.0.1-0~13.10~ppa1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/librhythmbox-core8_3.0.1-1ubuntu2~ppa0_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

有人能帮我解决这个问题吗?

答案1

问题是因为您有两个版本的 rhythmbox 包。

librhythmbox-core7已安装在您的系统上,并且您正在尝试安装librhythmbox-core8

您需要手动删除librhythmbox-core7才能安装librhythmbox-core8

sudo dpkg——删除 librhythmbox-core7
sudo apt-get 安装 librhythmbox-core8

相关内容