我已经花了大约4个小时,仍然无法确定问题所在。
这是终端转储:
machine@machine:~$ 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~~git20141116+r58673+31~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~~git20141116+r58673+31~ubuntu14.04.1) but it is not going to be installed
Recommends: vlc-plugin-samba (= 3.0.0~~git20141116+r58673+31~ubuntu14.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
machine@machine:~$ sudo apt-get install libavcodec55
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libavcodec55 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libavcodec55' has no installation candidate
machine@machine:~$ sudo apt-get install libavutil53
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libavutil53 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libavutil53' has no installation candidate
machine@machine:~$
我正在使用Ubuntu 14.04(trusty),尝试了几乎所有方法,但无法解决这些依赖关系。问题在于显示了不可用的库的依赖项。请帮忙解决。谢谢! PS:我的askubuntu帐户由于某些后端帐户不匹配而无法使用,这就是为什么我在SO上提问的原因。 这真是一场噩梦:\
/etc/apt/sources.list.d
目录中删除djcj-vlc-stable-trusty.list
和djcj-vlc-stable-trusty.list.save
。 - ahmed hamdy