我经常使用 VLC。当 2.0 版发布时,Ubuntu 并未更新到该版本,几个月后 REPO 中仍是旧版本,因此我添加了每日 repo:
http://ppa.launchpad.net/videolan/stable-daily/ubuntu 这种方法起了一段时间的作用,几个月后,我收到了“分销升级”
当我安装它时,它删除了 VLC。当我尝试重新安装时,它给了我一堆未满足的依赖项,所以我禁用了源,运行了 apt-get update,并尝试安装旧版 VLC,但这也不起作用。我最终找到了一个网页,它帮助我让它工作,我也能够让“Stable Daily”也工作
但是昨晚,我进行了另一次“发行版升级”,它再次卸载了 VLC。当我尝试从日常重新安装时,我得到:
The following packages have unmet dependencies:
vlc : Depends: fonts-freefont-ttf but it is not installable
Depends: vlc-nox (= 2.0.3+git20121005+r392-0~r42~precise1) but it is not going to be installed
Depends: libvlccore5 (>= 2.0.0) but it is not going to be installed
Recommends: vlc-plugin-notify (= 2.0.3+git20121005+r392-0~r42~precise1) but it is not going to be installed
Recommends: vlc-plugin-pulse (= 2.0.3+git20121005+r392-0~r42~precise1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
并从默认源:
vlc : Depends: vlc-nox (= 2.0.3-0ubuntu0.12.04.1) but it is not going to be installed
Depends: libvlccore5 (>= 2.0.0) but it is not going to be installed
Recommends: vlc-plugin-notify (= 2.0.3-0ubuntu0.12.04.1) but it is not going to be installed
vlc-plugin-pulse : Depends: vlc-nox (= 2.0.3-0ubuntu0.12.04.1) but it is not going to be installed
Depends: libvlccore5 (>= 2.0.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
有什么想法吗?我正在使用 ubuntu 12.04 64bit。
答案1
显然,经过查看,vlc-data
它仍然安装在系统上。即使在运行以下操作后:
sudo apt-get remove --purge vlc
和
sudo apt-get remove --purge vlc*
不知道为什么会发生这种事。
然后我跑了:
sudo apt-get remove --purge vlc-data
然后我禁用了 VLC 的 PPA,并安装了标准存储库中的 PPA。然后我重新启用了源代码,并能够更新到 2.0.3。
答案2
我使用 ppa:n-muench/vlc 时也遇到了同样的问题
sudo apt-get install ppa-purge
sudo ppa-purge ppa:videolan/stable-daily
sudo apt-get install vlc
答案3
禁用第三方存储库。也许Sopcast播放器存储库是罪魁祸首。
答案4
sudo add-apt-repository ppa:n-muench/vlc2
sudo apt-get update
sudo apt-get install vlc
适用于 Mint 17 & 17.1