安装 ubuntustudio-audio,出现错误

安装 ubuntustudio-audio,出现错误

当我尝试安装它时出现此错误:

$ sudo apt-get install ubuntustudio-audio
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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.
 ubuntustudio-audio : Depends: libavdevice-extra-53 but it is not going to be installed
                      Depends: libavfilter-extra-3 but it is not going to be installed
                      Depends: libavformat-extra-54 but it is not going to be installed
                      Depends: libavutil-extra-52 but it is not going to be installed
                      Depends: libswscale-extra-2 but it is not going to be installed
                      Recommends: ardour3 but it is not going to be installed
                      Recommends: audacity but it is not going to be installed
                      Recommends: idjc but it is not going to be installed
                      Recommends: pd-aubio but it is not going to be installed
                      Recommends: pd-readanysf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

在本页顶部 -https://wiki.ubuntu.com/UbuntuStudio/PackageList它显示 =OUTDATED=。我不确定这是指整个页面(以及为什么此安装不起作用)还是仅指其中的第一件事(ubuntustudio-desktop)。

答案1

最好的办法:

sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu trusty-security main universe" && sudo apt-get update

然后,

sudo apt-get install ubuntustudio-audio

如果上述方法不起作用,另一种方法是手动下载软件包,然后从那里安装。操作如下:

mkdir ~/Downloads/ubuntustudio && cd ~/Downloads/ubuntustudio

手动下载以下软件包(仍在文件夹中~/Downloads/ubuntustudio):

security.ubuntu.com libavdevice-extra-53

wget -c http://security.ubuntu.com/ubuntu/pool/universe/liba/libav/libavdevice-extra-53_9.18-0ubuntu0.14.04.1_all.deb

security.ubuntu.com libavfilter-extra-3

wget -c http://security.ubuntu.com/ubuntu/pool/universe/liba/libav/libavfilter-extra-3_9.18-0ubuntu0.14.04.1_all.deb

security.ubuntu.com libavformat-extra-54

wget -c http://security.ubuntu.com/ubuntu/pool/universe/liba/libav/libavformat-extra-54_9.18-0ubuntu0.14.04.1_all.deb

security.ubuntu.com libavutil-extra-52

wget -c http://security.ubuntu.com/ubuntu/pool/universe/liba/libav/libavutil-extra-52_9.18-0ubuntu0.14.04.1_all.deb

security.ubuntu.com libswscale-extra-2

wget -c http://security.ubuntu.com/ubuntu/pool/universe/liba/libav/libswscale-extra-2_9.18-0ubuntu0.14.04.1_all.deb

然后,运行以下命令进行安装:

sudo dpkg -i *.deb

为了满足所有依赖关系,请执行以下操作:

sudo apt-get -f install

相关内容