VLC 不会安装在 Ubuntu 15.04 中

pau*_*ulj 8 package-management apt vlc 15.04

VLC 工作正常,直到我升级到 15.04。当我尝试通过软件中心安装时,我收到以下错误消息:

The following packages have unmet dependencies:

 vlc: Depends: vlc-nox (= 2.2.0-1) but 2.2.0+ppa2.4 is to be installed
 Depends: libavcodec-extra-56 (>= 6:11.2) but 6:11.2-1 is to be installed
 Depends: libavutil54 (>= 6:11~beta1) but 6:11.2-1 is to be installed
 Depends: libc6 (>= 2.16) but 2.21-0ubuntu4 is to be installed
 Depends: libegl1-x11 but it is a virtual package
 Depends: libfreetype6 (>= 2.2.1) but 2.5.2-2ubuntu3 is to be installed
 Depends: libgcc1 (>= 1:4.1.1) but 1:5.1~rc1-0ubuntu1 is to be installed
 Depends: libgles1 but it is a virtual package
 Depends: libgles2 but it is a virtual package
 Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.6+git64-g5dc8b2b+dfsg-3~ubuntu6 is to be installed
 Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.6+git64-g5dc8b2b+dfsg-3~ubuntu6 is to be installed
 Depends: libstdc++6 (>= 4.9) but 4.9.2-10ubuntu13 is to be installed
 Depends: zlib1g (>= 1:1.2.3.3) but 1:1.2.8.dfsg-2ubuntu1 is to be installed
Run Code Online (Sandbox Code Playgroud)

并通过终端:

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 resolve the situation:

The following packages have unmet dependencies:
 vlc : Depends: vlc-nox (= 2.2.0-1) but 2.2.0+ppa2.4 is to be installed
       Recommends: vlc-plugin-notify (= 2.2.0-1) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 2.2.0-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

当我这样做时dpkg --get-selections | grep hold,似乎没有包裹被保留

当我这样做时,dpkg --get-selections | grep vlc它显示了这一点:

libvlc5                     install
libvlccore8                 install
vlc-data                    install
vlc-nox                     install
Run Code Online (Sandbox Code Playgroud)

此外,当我尝试通过终端删除它时,它说它没有安装,因此无法删除。我也尝试过每日发布的 videolan ppa,但结果同样令人遗憾。我怎样才能找回我的旧 VLC?谢谢你的帮助!

小智 10

问题似乎在vlc-nox,升级 Ubuntu 时不会删除。如果您首先将其删除,则一切正常。类似的东西:

sudo apt-get remove vlc-nox
sudo apt-get autoremove
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)

然后安装 vlc(3.0 对我有用):

sudo add-apt-repository ppa:videolan/master-daily
sudo apt-get update
sudo apt-get install vlc
Run Code Online (Sandbox Code Playgroud)

那应该使它起作用。此 PPA 包含每日更改、可能不稳定或损坏的开发版本。请参阅PPA 说明

此 PPA 包含来自 VLC 开发分支的每日构建。