在 ubuntu 15.04 上安装 vlc 时出现问题,花了 10 多个小时,但安装失败,并显示

在 ubuntu 15.04 上安装 vlc 时出现问题,花了 10 多个小时,但安装失败,并显示

以下信息可能有助于解决该情况:

The following packages have unmet dependencies:
 vlc : Depends: vlc-nox (= 2.2.1-2~ppa1) but it is not going to be installed
       Depends: libavcodec56 (>= 6:11~beta1) but it is not installable or
                libavcodec-extra-56 (>= 6:11.2) but it is not installable
       Depends: libavutil54 (>= 6:11~beta1) but it is not installable
       Depends: libqt5x11extras5 (>= 5.1.0) but it is not installable
       Depends: libsdl-image1.2 (>= 1.2.10) but it is not installable
       Depends: libva-drm1 (>= 1.1.0) but it is not installable
       Depends: libva-x11-1 (>= 1.0.3) but it is not installable
       Depends: libva1 (>= 1.2.0) but it is not installable
       Depends: libvlccore8 (>= 2.2.0~pre1) but it is not going to be installed
       Recommends: vlc-plugin-notify (= 2.2.1-2~ppa1) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 2.2.1-2~ppa1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

答案1

正如您在输出末尾看到的:

Unable to correct problems, you have held broken packages

要修复损坏的软件包,请运行

sudo apt-get -f install

然后再次尝试安装 vlc

sudo apt-get install vlc 

相关内容