我怎样才能解决这个vlc问题

当我输入时,我使用ubuntu 14.04LTS:

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 (= 3.0.0~~git20150319+r59816+33~ubuntu14.04.1) but it is not going 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 E: Unable to correct problems, you have held broken packages. 

根据您的问题,您必须按照此处的说明禁用不稳定的ppa / repos

然后打开一个终端并运行:

 sudo apt-get remove --purge vlc-nox sudo apt-get autoclean sudo dpkg --configure -a sudo apt-get -f install sudo apt-get autoremove sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install vlc 

如果你想使用更新版的VLC媒体播放器而不是官方的Ubuntu repos,你可以使用Videolan官方稳定日常PPA:

 sudo add-apt-repository ppa:videolan/stable-daily sudo apt-get update && sudo apt-get upgrade sudo apt-get install vlc 

加成:

只是对于那些在14.04LTS上将vlc升级到2.2.0的问题,甚至发生在我的ppa:videolan/stable-daily它仍然安装了2.1.6版本。 要将其升级到2.2.0版本,请添加此trusty-media PPA:

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

PS

请记住,如果使用此命令运行升级检查,此ppa还包含其他媒体更新,以查看将要更改的内容:

 cat /var/lib/apt/lists/ppa.launchpad.net_mc3man_trusty-media_*_Packages | grep "Package:" | sort | uniq 

如果要在安装vlc后清除它,则:

 sudo ppa-purge ppa:mc3man/trusty-media sudo apt-get update