无法解析 VLC 的软件包依赖关系

无法解析 VLC 的软件包依赖关系

我尝试通过以下命令在我的 ubuntu 12.04 上使用终端安装 vlc 媒体播放器:

    sudo add-apt-repository ppa:videolan/stable-daily
    sudo apt-get update
    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 (= 2.0.5+git20130123+r508-0~r42~precise1) but it is not going to be installed 
Depends: libavcodec53 (>= 4:0.8-1~) but it is not installable or libavcodec-extra-53 (>= 4:0.8-1~) but it is not installable 
Depends: libavutil51 (>= 4:0.8-1~) but it is not installable or libavutil-extra-51 (>= 4:0.8-1~) but it is not installable 
Depends: libsdl-image1.2 (>= 1.2.10) but it is not installable 
Depends: libtar0 but it is not installable 
Depends: libva-x11-1 (> 1.0.15~) but it is not installable 
Depends: libva1 (> 1.0.15~) but it is not installable 
Depends: libxcb-composite0 but it is not installable 
Depends: libxcb-keysyms1 (>= 0.3.8) but it is not installable 
Depends: libxcb-randr0 (>= 1.1) but it is not installable 
Depends: libxcb-xv0 (>= 1.2) but it is not installable 
Recommends: vlc-plugin-notify (= 2.0.5+git20130123+r508-0~r42~precise1) but it is not going to be installed 
Recommends: vlc-plugin-pulse (= 2.0.5+git20130123+r508-0~r42~precise1) but it is not going to be installed

然后我尝试使用软件中心然后它回复以下软件包具有未满足的依赖关系:

vlc: Depends: vlc-nox (= 2.0.5+git20130123+r508-0~r42~precise1) but 2.0.5+git20130123+r508-0~r42~precise1 is to be installed
     Depends: libavcodec-extra-53 (>= 4:0.8-1~) but it is not going to be installed
     Depends: libavutil-extra-51 (>= 4:0.8-1~) but it is not going to be installed
     Depends: libc6 (>= 2.15) but 2.15-0ubuntu10 is to be installed
     Depends: libfreetype6 (>= 2.2.1) but 2.4.8-1ubuntu2 is to be installed
     Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is to be installed
     Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.1-0ubuntu4.2 is to be installed
     Depends: libqtgui4 (>= 4:4.7.0~beta1) but 4:4.8.1-0ubuntu4.2 is to be installed
     Depends: libsdl-image1.2 (>= 1.2.10) but it is not going to be installed
     Depends: libstdc++6 (>= 4.6) but 4.6.3-1ubuntu5 is to be installed
     Depends: libtar0 but it is not going to be installed
     Depends: libva-x11-1 (> 1.0.15~) but it is not going to be installed
     Depends: libva1 (> 1.0.15~) but it is not going to be installed
     Depends: libxcb-composite0 but it is not going to be installed
     Depends: libxcb-keysyms1 (>= 0.3.8) but it is not going to be installed
     Depends: libxcb-randr0 (>= 1.1) but it is not going to be installed
     Depends: libxcb-xv0 (>= 1.2) but it is not going to be installed
     Depends: zlib1g (>= 1:1.2.3.3.dfsg) but 1:1.2.3.4.dfsg-3ubuntu4 is to be installed

现在该怎么办,请帮帮我

答案1

首先问一个问题:您尝试从其每日 PPA 安装 VLC 有什么原因吗?

为什么不直接删除或禁用该 PPA,使用 Ubuntu 软件中心并搜索 vlc 然后安装?您将获得最新的支持版本。

如果您必须使用每日 ppa,那么您需要深入研究 2 个未满足的依赖项,以了解从哪里获取它们,因为无论出于何种原因,它们都不容易获得。

答案2

PPA 是私人存储库。

在这种情况下,它可能需要 Ubuntu 12 中提供的软件。10

因此,不要使用该 PPA(也许下载通用二进制文件),或者升级到 Ubuntu 12.10。

相关内容