如何在 Ubuntu Zesty 17.04 上安装 VLC 3.0?

Eva*_*oll 11 ppa vlc 17.04

我在 Ubuntu Zesty 中安装 VLC 3.0 时遇到了困难。使用官方 PPA。我添加它使用

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

apt-cache show已被列入其中,

apt-cache show vlc | grep Version
Version: 3.0.0~~git20160813+r65787+62~ubuntu16.04.1
Version: 2.2.4-14ubuntu2
Run Code Online (Sandbox Code Playgroud)

但是当我尝试安装时3.0.0sudo apt-get install vlc=3.*我得到了,

sudo apt-get install vlc=3.*
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version '3.0.0~~git20160813+r65787+62~ubuntu16.04.1' ( [amd64]) for 'vlc'
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 (= 3.0.0~~git20160813+r65787+62~ubuntu16.04.1) but it is not going to be installed
       Depends: libavcodec-ffmpeg56 (>= 7:2.6) but it is not installable or
                libavcodec-ffmpeg-extra56 (>= 7:2.6) but it is not installable
       Depends: libgles1-mesa (>= 7.8.1) or
                libgles1
       Recommends: vlc-plugin-notify (= 3.0.0~~git20160813+r65787+62~ubuntu16.04.1) but it is not going to be installed
       Recommends: vlc-plugin-samba (= 3.0.0~~git20160813+r65787+62~ubuntu16.04.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)

是否有另一个 PPA 在 Ubuntu Zesty 中提供 VLC 3.0?似乎 libavcodec-ffmpeg56 被重命名了,

$ apt-cache search libavcodec ffmpeg
libavcodec-extra57 - FFmpeg library with additional de/encoders for audio/video codecs
Run Code Online (Sandbox Code Playgroud)

现在需要针对新库 (libavcodec-extra57) 构建 vlc-3.* 并从旧名称 (libavcodec-ffmpeg-extra56) 更新其清单

我也无法对此提交错误,因为 Launchpad 不支持。我所能做的就是使用 Launchpad 联系论坛编写维护者,我就是这样做的。没有回音。

elm*_*cha 18

您可以安装 vlc 3 的快照:

sudo snap install vlc
Run Code Online (Sandbox Code Playgroud)

它将与原始 vlc 一起安装(如果您不卸载原始 vlc)。

  • 如果您需要 snap vlc 在 $HOME 之外浏览/打开,请将其删除 `sudo snap remove vlc` 并使用 `sudo snap install --classic vlc` 重新安装 (4认同)