![在 13.10 上安装 rhythmbox v3 时出现问题](https://linux22.com/image/851139/%E5%9C%A8%2013.10%20%E4%B8%8A%E5%AE%89%E8%A3%85%20rhythmbox%20v3%20%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
Err http://ppa.launchpad.net/jacob/media/ubuntu/ saucy/main rhythmbox amd64 3.0.1-1ubuntu5~ppa0
Connection failed
Err http://ppa.launchpad.net/jacob/media/ubuntu/ saucy/main rhythmbox-mozilla amd64 3.0.1-1ubuntu5~ppa0
Connection failed
这是我尝试安装 rhythmbox v3 时收到的错误。我该怎么办?
以下是输出apt-cache policy rhythmbox
rhythmbox: Installed: (none) Candidate: 3.0.1-1ubuntu5~ppa0 Version table:
3.0.1-1ubuntu5~ppa0 0 500 ppa.launchpad.net/jacob/media/ubuntu saucy/main amd64 Packages 100 /var/lib/dpkg/status
3.0-1~ppafossfreedomubuntu7 0 500 ppa.launchpad.net/fossfreedom/rhythmbox/ubuntu saucy/main amd64 Packages
2.99.1-0ubuntu1 0 500 in.archive.ubuntu.com/ubuntu saucy/main amd64 Packages
输出sudo apt-get install rhythmbox
Err ppa.launchpad.net/jacob/media/ubuntu saucy/main rhythmbox amd64 3.0.1-1ubuntu5~ppa0 Connection failed 0% [Waiting for headers]
我尝试删除 PPA,然后运行sudo apt-get install rhyhmbox
。现在显示这个。
The following packages have unmet dependencies:
rhythmbox : Depends: librhythmbox-core8 (= 3.0-1~ppafossfreedomubuntu7) but 3.0.1-1ubuntu5~ppa0 is to be installed
Depends: rhythmbox-data (= 3.0-1~ppafossfreedomubuntu7) but it is not going to be installed
Recommends: gstreamer1.0-plugins-ugly 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.
答案1
这是我所做的,它有效。删除所有以前的安装和所有插件。
只需按下键盘上的Ctrl+ Alt+T即可打开终端。打开后,运行以下命令:
sudo apt-add-repository --remove ppa:fossfreedom/rhythmbox
sudo apt-add-repository --remove ppa:jacob/media
sudo apt-get update
sudo apt-get purge rhythmbox rhythmbox-plugins
然后使用这个PPA安装:
sudo add-apt-repository ppa:jacob/media
sudo apt-get update
sudo apt-get install rhythmbox
参见下图: