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
参见下图: