安装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
。
-
删除已安装的PPA:
sudo add-apt-repository --remove ppa:videolan/stable-daily
-
清空包缓存:
sudo apt-get clean
-
更新您的包裹清单:
sudo apt-get update
-
将所有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
- 更新时“无法获取”
- GPG ERROR NO_PUBKEY:警告:以下软件包无法通过身份validation!
- 如何在具有Internet连接的系统中安装下载的.deb文件及其依赖项
- 我应该在APT中使用tasksel,任务还是安装常规元数据包?
- `apt-get purge`和`apt-get remove`有什么区别?
- Apt-get安装失败,无法在任何地方找到此错误消息
- N:忽略目录’/etc/apt/apt.conf.d/’中的’50unattended-upgrades.ucf-dist’文件,因为它的文件扩展名无效
- dpkg:错误:无法扫描更新目录`/ var / lib / dpkg / updates /’
- 未满足的依赖项 – 无法删除包libgbm1