我是Ubuntu的新手。当我试图更新vlc以便能够播放某些视频时,我搞砸了,现在我无法安装VLC媒体播放器的新版本。在执行此操作时,我使用的是Ubuntu14.04。当我升级到15.04的时候,我以为它会被修复,但是它没有帮助。这就是当我试图通过终端安装vlc时得到的结果。
ricky@ricky-pc:~$ sudo apt-get install vlc
[sudo] password for ricky:
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.2.0+git20160309+r58687+31+14~ubuntu15.04.1) but 2.2.1~trusty1 is to be installed
Depends: libgles1-mesa (>= 7.8.1) but it is not installable or
libgles1
Depends: libva-drm1 (>= 1.1.0) but it is not installable
Depends: libva-x11-1 (>= 1.0.3) but it is not installable
Depends: libxcb-composite0 but it is not installable
Depends: libxcb-xv0 (>= 1.2) but it is not installable
Recommends: vlc-plugin-notify (= 2.2.0+git20160309+r58687+31+14~ubuntu15.04.1) but it is not going to be installed
Recommends: vlc-plugin-samba (= 2.2.0+git20160309+r58687+31+14~ubuntu15.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.当我试图从软件中心安装VLC时,会弹出这条消息,无法解决包依赖问题。
请我出去。提前谢谢。
发布于 2016-03-10 05:51:48
sudo apt-get purge vlc
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install vlc发布于 2016-03-10 06:27:34
为了解决unmet dependency错误,可以运行以下命令:
sudo dpkg --configure -a
sudo apt-get -f install然后试着安装更新..。
发布于 2016-03-10 06:13:16
根据您的ubuntu版本从http://pkgs.org/download/vlc下载最新的vlc deb文件
安装包并使用以下方法获取存储库:
sudo gdebi downloadedPackageName.deb
如果您已经安装了缺少的依赖项,请下载并安装缺少的依赖项。
sudo apt-获取-f安装
https://askubuntu.com/questions/744150
复制相似问题