Vlc – 包依赖关系无法解决

我尝试在Ubuntu 14.04 LTS中安装Vlc 2.2,因为Ubuntu软件中心没有使用以下命令:

sudo add-apt-repository ppa:mc3man/trusty-media sudo apt-get update && sudo apt-get install vlc 

但它显示错误:

 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 (= 3.0.0~~git20150319+r59816+33~ubuntu14.04.1) but 2.1.6-0ubuntu14.04.1 is to be installed Depends: libavcodec55 (>= 6:9.1-1) but it is not installable or libavcodec-extra-55 (>= 6:10~~git20131218.b3189af~ubuntu14.04.1) but it is not installable Depends: libavutil53 (>= 6:9.1-1) but it is not installable Recommends: vlc-plugin-notify (= 3.0.0~~git20150319+r59816+33~ubuntu14.04.1) but it is not going to be installed Recommends: vlc-plugin-samba (= 3.0.0~~git20150319+r59816+33~ubuntu14.04.1) but it is not going to be installed Breaks: vlc-nox (= 2.1.0) but it is not going to be installed Recommends: libdvdcss2 but it is not installable E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. 

现在,即使我尝试使用Ubuntu软件中心安装它,它也会向我显示无法解析包依赖关系的错误。

请帮忙。 提前致谢。

VLC也在Ubuntu Repos中。 您可以在启用Universe Repo后安装它。 当您安装Ubuntu并选择安装第三方软件并在安装时安装更新时,应自动启用此function。

如果您在安装过程中错过了它,您可以通过打开软件和源来安装unniverse存储库,并选择存储库,如图所示。

启用Universe和Multiverse Repos

在关闭后,您可以选择重新加载缓存。

重新加载软件缓存

完成后,您应该在软件中心看到VLC,或者您可以通过命令行安装它。

没有必要添加任何第三方回购,除非您无法在官方回购中找到您想要的东西,或者您想要最新和最好的回购。

由于库不匹配,PPA有时会破坏您的系统。 Alway USE PPA谨慎使用。