安装vlc播放器时出现问题

我无法在我的Ubuntu(14.04)上安装vlc播放器。 我已阅读此内容并尝试运行命令,但在运行此命令时:

sudo apt-get install 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.1.4+git20150226+r54594+19+11~ubuntu14.04.1) but 2.1.6-0ubuntu14.04.1 is to be installed Recommends: vlc-plugin-notify (= 2.1.4+git20150226+r54594+19+11~ubuntu14.04.1) but 2.1.6-0ubuntu14.04.1 is to be installed Recommends: vlc-plugin-pulse (= 2.1.4+git20150226+r54594+19+11~ubuntu14.04.1) but 2.1.6-0ubuntu14.04.1 is to be installed E: Unable to correct problems, you have held broken packages. 

问题是什么? 您有什么想法可以解决这个问题吗?或者您能告诉我安装vlc媒体播放器的正确程序吗?


更新:

删除PPA后,这是apt-cache policy vlc的输出:

 vlc: Installed: (none) Candidate: 2.1.2-2build2 Version table: 2.1.6-0ubuntu14.04.1 0 100 /var/lib/dpkg/status 2.1.2-2build2 0 500 archive.ubuntu.com/ubuntu trusty/universe i386 Packages 2.0.1-4 0 500 archive.ubuntu.com/ubuntu precise/universe i386 Packages 

和命令:

 apt-cache policy vlc-nox vlc-plugin-notify vlc-plugin-pulse 

给我以下结果:

 vlc-nox: Installed: 2.1.6-0ubuntu14.04.1 Candidate: 2.1.6-0ubuntu14.04.1 Version table: *** 2.1.6-0ubuntu14.04.1 0 100 /var/lib/dpkg/status 2.1.2-2build2 0 500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages 2.0.1-4 0 500 http://archive.ubuntu.com/ubuntu/ precise/universe i386 Packages vlc-plugin-notify: Installed: 2.1.6-0ubuntu14.04.1 Candidate: 2.1.6-0ubuntu14.04.1 Version table: *** 2.1.6-0ubuntu14.04.1 0 100 /var/lib/dpkg/status 2.1.2-2build2 0 500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages 2.0.1-4 0 500 http://archive.ubuntu.com/ubuntu/ precise/universe i386 Packages vlc-plugin-pulse: Installed: 2.1.6-0ubuntu14.04.1 Candidate: 2.1.6-0ubuntu14.04.1 Version table: *** 2.1.6-0ubuntu14.04.1 0 100 /var/lib/dpkg/status 2.1.2-2build2 0 500 http://archive.ubuntu.com/ubuntu/ trusty/universe i386 Packages 2.0.1-4 0 500 http://archive.ubuntu.com/ubuntu/ precise/universe i386 Packages 

不要使用PPA,从Ubuntu存储库安装vlc

  1. 删除已安装的PPA:

     sudo add-apt-repository --remove ppa:videolan/stable-daily 
  2. 清空包缓存:

     sudo apt-get clean 
  3. 更新您的包裹清单:

     sudo apt-get update 
  4. 将所有vlc软件包降级/安装到存储库版本中/中:

     sudo apt-get install --reinstall vlc=2.1.2-2build2 vlc-data=2.1.2-2build2 vlc-nox=2.1.2-2build2 vlc-plugin-notify=2.1.2-2build2 vlc-plugin-pulse=2.1.2-2build2 

根据您的Ubuntu版本,您目前(2015年11月20日)可能会在Wily(15.10)上获得高达2.2.1-3的VLC版本。 较旧的Ubuntu版本可能在其存储库中具有较旧的VLC版本。

您可以使用以下命令检查可用的版本:

 apt-cache policy vlc 

我的15.10 64位系统的示例输出将是:

 vlc: Installed: (none) Candidate: 2.2.1-3 Version table: 2.2.1-3 0 500 http://[YOUR REPOSITORY SERVER URL]/ wily/universe amd64 Packages