AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 906472
Accepted
Evan Carroll
Evan Carroll
Asked: 2017-04-19 19:31:17 +0800 CST2017-04-19 19:31:17 +0800 CST 2017-04-19 19:31:17 +0800 CST

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

  • 772

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

sudo add-apt-repository ppa:videolan/master-daily
sudo apt-get update

apt-cache show并列出来,

apt-cache show vlc | grep Version
Version: 3.0.0~~git20160813+r65787+62~ubuntu16.04.1
Version: 2.2.4-14ubuntu2

但是当我尝试安装3.0.0时,sudo 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.

是否有另一个 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

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

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

ppa
  • 4 4 个回答
  • 24499 Views

4 个回答

  • Voted
  1. Best Answer
    elmicha
    2017-05-15T09:09:27+08:002017-05-15T09:09:27+08:00

    您可以安装 vlc 3 的快照:

    sudo snap install vlc
    

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

    • 18
  2. kenn
    2017-12-18T03:41:49+08:002017-12-18T03:41:49+08:00

    我更flatpak喜欢snap. 它是适用于 Linux 的开源和多架构应用程序沙盒和分发框架。它易于使用,您可以在其中运行诸如Steam,Sublimetext之类的闭源应用程序。

    您可以通过 安装ppa或直接从 构建它github,不需要太多时间。我为我的 Ubuntu 16.04 做了什么

    mkdir FLATPAK; cd FLATPAK
    
    git clone --recurse-submodules https://github.com/ostreedev/ostree.git
    cd ostree
    git submodule update --init
    env NOCONFIGURE=1 ./autogen.sh
    ./configure
    make
    sudo make install
    cd ..
    git clone https://github.com/flatpak/flatpak.git
    cd flatpak
    ./autogen.sh
    make
    sudo make install
    cd ..
    git clone https://github.com/PipeWire/pipewire.git
    cd pipewire
    ./autogen.sh
    make
    sudo make install
    cd ..
    git clone https://github.com/flatpak/xdg-desktop-portal.git
    ./autogen.sh
    make
    sudo make install
    cd ..
    git clone https://github.com/flatpak/xdg-desktop-portal-gtk.git
    ./autogen.sh
    ./configure
    make 
    sudo make install
    

    然后添加应用程序存储库以安装应用程序。

    flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
    

    最后安装VLC

    flatpak --user install flathub org.videolan.VLC
    

    并通过启动它

    flatpak run org.videolan.VLC
    

    查看可用的应用程序和运行时

     flatpak --user remote-ls -d flathub
    

    欲了解更多信息,请查看Flatpak

    编辑:我添加了新的依赖项并更改了安装顺序。

    • 2
  3. Xen2050
    2017-04-19T23:44:42+08:002017-04-19T23:44:42+08:00

    我认为您可能添加了错误的 ppa 源,或者 ppa 现在无法在 17.04 中 100% 工作。链接的 ppc 主页说,对于 17.04,这些应该在某个地方/etc/apt/sources.list*

    deb http://ppa.launchpad.net/videolan/master-daily/ubuntu zesty main
    deb-src http://ppa.launchpad.net/videolan/master-daily/ubuntu zesty main
    

    从它想要安装和依赖的软件包中,我看到很多“16.04”听起来不适合您的“17.04”系统。喜欢:

    Version: 3.0.0~~git20160813+r65787+62~ubuntu**16.04.1**  
    ...  
    Depends: vlc-nox (= 3.0.0~~git20160813+r65787+62~ubuntu**16.04.1**) but...  
    Recommends: vlc-plugin-notify (= 3.0.0~~git20160813+r65787+62~ubuntu**16.04.1**) but...  
    Recommends: vlc-plugin-samba (= 3.0.0~~git20160813+r65787+62~ubuntu**16.04.1**) but...  
    
    • 1
  4. LiveWireBT
    2017-09-04T00:31:15+08:002017-09-04T00:31:15+08:00

    我启用了 videolan/master-daily PPA,虽然我的意图是在升级到 17.04 时不使用 3.0,所以我继续使用我认为是最新的 2.x 版本。我刚刚注意到界面中的一些图标发生了变化,并检查了关于对话框,发现我现在使用的是 3.0。

    Package: vlc
    Status: install ok installed
    Priority: optional
    Section: video
    Installed-Size: 220
    Maintainer: Debian Multimedia Maintainers <[email protected]>
    Architecture: amd64
    Version: 3.0.0~~git20170829+r71452+74~ubuntu17.04.1
    Provides: mp3-decoder
    Depends: vlc-bin (= 3.0.0~~git20170829+r71452+74~ubuntu17.04.1), vlc-plugin-base (= 3.0.0~~git20170829+r71452+74~ubuntu17.04.1), vlc-plugin-qt (= 3.0.0~~git20170829+r71452+74~ubuntu17.04.1), vlc-plugin-video-output (= 3.0.0~~git20170829+r71452+74~ubuntu17.04.1), vlc-l10n (= 3.0.0~~git20170829+r71452+74~ubuntu17.04.1)
    Recommends: vlc-plugin-notify (= 3.0.0~~git20170829+r71452+74~ubuntu17.04.1), vlc-plugin-samba (= 3.0.0~~git20170829+r71452+74~ubuntu17.04.1), vlc-plugin-skins2 (= 3.0.0~~git20170829+r71452+74~ubuntu17.04.1), vlc-plugin-video-splitter (= 3.0.0~~git20170829+r71452+74~ubuntu17.04.1), vlc-plugin-visualization (= 3.0.0~~git20170829+r71452+74~ubuntu17.04.1)
    
    • 0

相关问题

  • 我在哪里可以找到最新版 GIMP 的 PPA?

  • 谷歌的 Go 语言有任何 PPA 吗?

  • 为自定义 PPA 修补 Wine 的正确方法是什么?

  • 我如何创建自己的 php 5.3.3 包/ppa?

  • 如何删除 PPA?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve