无法安装‘youtube to mp3’(ubuntu14.04)

无法安装‘youtube to mp3’(ubuntu14.04)

当我尝试在软件中心安装“youtube to mp3”时

我收到以下错误:

the following packages have unmet dependencies:

youtube-to-mp3: Depends: libc6 (>= 2.14) but 2.19-0ubuntu6.6 is to be installed
                Depends: libgcc1 (>= 1:4.1.1) but 1:4.9.1-0ubuntu1 is to be installed
                Depends: libqt4-declarative (>= 4:4.7.0~rc1) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
                Depends: libqt4-network (>= 4:4.6.1) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
                Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
                Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
                Depends: libstdc++6 (>= 4.6) but 4.8.2-19ubuntu1 is to be installed
                Depends: libav-tools (>= 4:0.8.6-0ubuntu0.12.04.1) but 6:9.16-0ubuntu0.14.04.1 is to be installed
                Depends: libavcodec-extra-53 (>= 4:0.8.6ubuntu0.12.04.1) but it is not going to be installed
                Depends: libmp3lame0 (>= 3.99.3+repack1-1) but 3.99.5+repack1-3ubuntu1 is to be installed

当我在终端中运行它时:

sudo apt-get install youtube-to-mp3

我收到以下消息:

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:
   youtube-to-mp3 : Depends: libavcodec-extra-53 (>=4:0.8.6ubuntu0.12.04.1) but it is not installable
E: Unable to correct problems, you have held broken packages.

答案1

如果你改变主意的话我还有一个选择

sudo apt-get install youtube-dl

使用此功能,您可以下载 mp3 ,您选择的视频,使用 -F 查找数字格式和 -f数字下载例如:

youtube-dl -f 18 https://www.youtube.com/watch?v=anything

答案2

安装它的最佳方式是链接中给出或按照以下步骤操作。

sudo add-apt-repository http://www.mediahuman.com/packages/ubuntu
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys D808832C7D19F1F3
sudo apt-get update
sudo apt-get install youtube-to-mp3

一切顺利,您将在 Ubuntu 14.04 上安装 youtube-to-mp3。

请参阅PPA 可以安全地添加到我的系统中吗?需要注意哪些“危险信号”?使用 PPA 的潜在危险。

相关内容