无法在 ubuntu 14.04 中安装 VLC 媒体播放器和视频

无法在 ubuntu 14.04 中安装 VLC 媒体播放器和视频

当我尝试安装 VLC 时,出现以下错误:

The following packages have unmet dependencies:

vlc: Depends: vlc-nox (= 2.1.6-0ubuntu14.04.2) but 2.1.6-0ubuntu14.04.2 is to be installed
     Depends: libc6 (>= 2.15) but 2.19-0ubuntu6.9 is to be installed
     Depends: libfreetype6 (>= 2.2.1) but 2.5.2-1ubuntu2.5 is to be installed
     Depends: libgcc1 (>= 1:4.1.1) but 1:4.9.3-0ubuntu4 is to be installed
     Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
     Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 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.8.4-2ubuntu1~14.04.3 is to be installed
     Depends: libva-x11-1 (> 1.3.0~) but it is not going to be installed
     Depends: libva1 (> 1.3.0~) but it is not going to be installed
     Depends: libxcb-composite0 but it is not going to be installed
     Depends: libxcb-keysyms1 (>= 0.3.9) 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) but 1:1.2.8.dfsg-1ubuntu1 is to be installed
 ============================================================

此外,当我尝试使用“使用视频打开”打开视频时,出现以下错误:

The following packages have unmet dependencies:

gstreamer1.0-libav: Depends: libavcodec-extra-54 (>= 6:9.13) but 6:9.18-0ubuntu0.14.04.1 is to be installed
                    Depends: libavformat54 (>= 6:9.1-1) but 6:9.18-0ubuntu0.14.04.1 is to be installed
                    Depends: libavutil52 (>= 6:9.1-1) but 6:9.18-0ubuntu0.14.04.1 is to be installed
                    Depends: libc6 (>= 2.14) but 2.19-0ubuntu6.9 is to be installed
                    Depends: libglib2.0-0 (>= 2.37.3) but 2.40.2-0ubuntu1 is to be installed

答案1

尝试 Synaptic 包管理器

您是否尝试过使用 Synaptic 软件包管理器安装 VLC?从软件中心或从这里并搜索 VLC。如果您的系统上安装了它,它将显示您已安装的版本。标记 VLC(如果已安装)以完全删除(仅限 VLC)并点击应用。删除后再次搜索 VLC,这次将其标记为安装。它会自动标记未满足的依赖项。单击应用以再次安装。

对于视频

对于视频,请转到软件中心并搜索视频,然后单击更多信息。检查可选附加组件中的 GStreamer 编解码器安装,然后单击应用更改。

希望这对您有帮助。

相关内容