vlc取决于vlc-nox

我试图在12.04安装VLC,但我遇到了这些错误:

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: vlc : Depends: vlc-nox (= 2.0.3-0ubuntu0.12.04.1) but it is not going to be installed Depends: libsdl-image1.2 (>= 1.2.10) but it is not installable Depends: libtar0 but it is not installable Depends: libxcb-keysyms1 (>= 0.3.8) but it is not installable Recommends: vlc-plugin-notify (= 2.0.3-0ubuntu0.12.04.1) but it is not going to be installed Recommends: vlc-plugin-pulse (= 2.0.3-0ubuntu0.12.04.1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. 

如何修复这些错误并安装VLC?

试试这些提交:

 sudo apt-get clean && sudo apt-get update sudo apt-get upgrade 

然后尝试重新安装,看看它是否有效..

另一种选择是,您可以从VLC官方网站下载最新版本

打开终端并运行

 sudo apt-get -f install 

我想这可以帮助您修复依赖项问题并安装VLC。

rm -R / var / lib / apt / lists / partial / *

apt-get update && apt-get upgrade

apt-get install -f

apt-get install vlc

祝好运。