我安装了 Ubuntu 12.04,当时它还处于 beta2 阶段。从那时起,我就一直收到常规升级和部分升级(我不明白为什么我会得到这个选项,尽管我使用的是最新的 Ubuntu 版本)选项。我从来没有能够使用原生“电影播放器”播放 MP4 等格式。每次我尝试播放此类格式时,电影播放器都会搜索插件,最后会给我这个结果:以下软件包有未满足的依赖关系:
gstreamer0.10-ffmpeg: Depends: libavcodec-extra-53 (>= 4:0.7.3-1) but 4:0.8.1ubuntu1 is to be installed
Depends: libavformat-extra-53 (>= 4:0.7.3-1) but 4:0.8.1ubuntu1 is to be installed
Depends: libavutil-extra-51 (>= 4:0.7.3-1) but 4:0.8.1ubuntu1 is to be installed
Depends: libc6 (>= 2.7) but 2.15-0ubuntu10 is to be installed
Depends: libglib2.0-0 (>= 2.31.2) but 2.32.1-0ubuntu2 is to be installed
Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.31) but 0.10.36-1 is to be installed
Depends: libgstreamer0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu1 is to be installed
Depends: liborc-0.4-0 (>= 1:0.4.16) but 1:0.4.16-1ubuntu2 is to be installed
Depends: libpostproc-extra-52 (>= 4:0.7.3-1) but 4:0.8.1ubuntu1 is to be installed
Depends: libswscale-extra-2 (>= 4:0.7.3-1) but 4:0.8.1ubuntu1 is to be installed
gstreamer0.10-ffmpeg:i386: Depends: libavcodec-extra-53 (>= 4:0.7.3-1) but 4:0.8.1ubuntu1 is to be installed
Depends: libavformat-extra-53 (>= 4:0.7.3-1) but 4:0.8.1ubuntu1 is to be installed
Depends: libavutil-extra-51 (>= 4:0.7.3-1) but 4:0.8.1ubuntu1 is to be installed
Depends: libc6 (>= 2.7) but 2.15-0ubuntu10 is to be installed
Depends: libglib2.0-0 (>= 2.31.2) but 2.32.1-0ubuntu2 is to be installed
Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.31) but 0.10.36-1 is to be installed
Depends: libgstreamer0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu1 is to be installed
Depends: liborc-0.4-0 (>= 1:0.4.16) but 1:0.4.16-1ubuntu2 is to be installed
Depends: libpostproc-extra-52 (>= 4:0.7.3-1) but 4:0.8.1ubuntu1 is to be installed
Depends: libswscale-extra-2 (>= 4:0.7.3-1) but 4:0.8.1ubuntu1 is to be installed
今天,在我进行“部分升级”后,我的 VLC 媒体播放器不见了。它可能在部分升级过程中被卸载了。从那时起,当我尝试安装 VLC 时,我收到此错误:
vlc : Depends: vlc-nox (= 2.0.1+git20120502+r198-0~r36~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.1+git20120502+r198-0~r36~precise1) but it is not going to be installed
Recommends: vlc-plugin-pulse (= 2.0.1+git20120502+r198-0~r36~precise1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我使用ppa:videolan/stable-daily
PPA。
我该如何解决这个问题?
答案1
您获得部分升级选项的原因是因为您正在使用第三方 PPA,并且它引入了无法满足的依赖问题。
您有几种选择。
- 删除 videolan/stable-daily PPA 并从官方存储库安装 VLC
- 联系该 PPA 的所有者并询问他们为什么依赖 git20120502 版本,而他们的 PPA 包含 git20120503 版本(您也可以尝试再次安装 VLC,因为这可能是已解决的打包问题)
- 找到正确版本的 vlc-nox 和 libvlccore5 并通过 dpkg 手动安装它们。