由于依赖性问题,无法安装 VLC Ubuntu 14.04

由于依赖性问题,无法安装 VLC Ubuntu 14.04

我正在尝试在我的 Ubuntu 服务器上安装 VLC。这是我尝试时得到的结果。

$ sudo apt-get update
Ign http://us.archive.ubuntu.com trusty InRelease
Hit http://us.archive.ubuntu.com trusty-updates InRelease
Ign http://ppa.launchpad.net raring InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://www.deb-multimedia.org wheezy InRelease
Hit http://us.archive.ubuntu.com trusty-backports InRelease
Hit http://us.archive.ubuntu.com trusty Release.gpg
Ign http://ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security/main Sources
Ign http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty InRelease
Hit http://us.archive.ubuntu.com trusty-updates/main Sources
Hit http://www.deb-multimedia.org wheezy/main amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates InRelease
Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports InRelease
Hit http://shell.ninthgate.se wheezy InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security InRelease
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://us.archive.ubuntu.com trusty-updates/universe Sources
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty Release.gpg
Hit http://www.deb-multimedia.org wheezy/non-free amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://ppa.launchpad.net trusty InRelease
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://shell.ninthgate.se wheezy/main amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://www.deb-multimedia.org wheezy/main i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/multiverse amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/universe i386 Packages
Hit http://shell.ninthgate.se wheezy/main i386 Packages
Hit http://www.deb-multimedia.org wheezy/non-free i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/multiverse i386 Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/main Translation-en
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/multiverse Translation-en
Get:1 ftp://ftp.videolan.org ./ InRelease
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/restricted Translation-en
Hit http://ppa.launchpad.net trusty InRelease
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-updates/universe Translation-en
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/restricted amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/multiverse amd64 Packages
Hit http://ppa.launchpad.net trusty InRelease
Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/main i386 Packages
Ign ftp://ftp.videolan.org ./ InRelease
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/universe i386 Packages
Hit http://ppa.launchpad.net trusty InRelease
Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/main Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/multiverse Translation-en
Hit http://ppa.launchpad.net raring Release.gpg
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-backports/universe Translation-en
Hit ftp://ftp.videolan.org ./ Release.gpg
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/main amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/restricted amd64 Packages
Ign http://ppa.launchpad.net trusty Release.gpg
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/multiverse amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/main i386 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit ftp://ftp.videolan.org ./ Release
Hit http://us.archive.ubuntu.com trusty-backports/main Sources
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/restricted i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/multiverse i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/main Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/multiverse Translation-en
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty-security/universe Translation-en
Hit ftp://ftp.videolan.org ./ Packages
Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/restricted amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/universe amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/main i386 Packages
Get:2 ftp://ftp.videolan.org ./ Translation-en_US
Ign http://shell.ninthgate.se wheezy/main Translation-en_US
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/restricted i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/universe i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/multiverse i386 Packages
Ign http://shell.ninthgate.se wheezy/main Translation-en
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/multiverse Translation-en
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/universe Translation-en
Ign http://ppa.launchpad.net trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
Get:3 ftp://ftp.videolan.org ./ Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://ppa.launchpad.net trusty/main i386 Packages
Ign http://www.deb-multimedia.org wheezy/main Translation-en_US
Hit http://ppa.launchpad.net trusty/main Translation-en
Ign http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/main Translation-en_US
Ign http://www.deb-multimedia.org wheezy/main Translation-en
Ign http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/multiverse Translation-en_US
Hit http://ppa.launchpad.net trusty Release.gpg
Ign http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/restricted Translation-en_US
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty Release
Ign http://ubuntu.mirror.frontiernet.net/ubuntu/ trusty/universe Translation-en_US
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Ign http://www.deb-multimedia.org wheezy/non-free Translation-en_US
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Ign http://www.deb-multimedia.org wheezy/non-free Translation-en
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
Get:4 ftp://ftp.videolan.org ./ Translation-en_US
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Hit http://ppa.launchpad.net raring Release
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Ign http://ppa.launchpad.net trusty Release
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Hit http://ppa.launchpad.net trusty Release
Get:5 ftp://ftp.videolan.org ./ Translation-en
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Ign http://ppa.launchpad.net trusty Release
Hit http://ppa.launchpad.net trusty Release
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://ppa.launchpad.net raring/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Hit http://ppa.launchpad.net raring/main i386 Packages
Get:6 ftp://ftp.videolan.org ./ Translation-en_US
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Get:7 ftp://ftp.videolan.org ./ Translation-en
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:8 ftp://ftp.videolan.org ./ Translation-en_US
Get:9 ftp://ftp.videolan.org ./ Translation-en
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://ppa.launchpad.net trusty/main Translation-en
Get:10 ftp://ftp.videolan.org ./ Translation-en_US
Ign ftp://ftp.videolan.org ./ Translation-en_US
Get:11 ftp://ftp.videolan.org ./ Translation-en
Ign ftp://ftp.videolan.org ./ Translation-en
Ign http://ppa.launchpad.net raring/main Translation-en_US
Ign http://ppa.launchpad.net raring/main Translation-en
Err http://ppa.launchpad.net trusty/main amd64 Packages
  404  Not Found
Err http://ppa.launchpad.net trusty/main i386 Packages
  404  Not Found
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Err http://ppa.launchpad.net trusty/main amd64 Packages
  404  Not Found
Err http://ppa.launchpad.net trusty/main i386 Packages
  404  Not Found
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
W: Failed to fetch http://ppa.launchpad.net/happy-neko/ps3mediaserver/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/happy-neko/ps3mediaserver/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/vanvugt/mediatomb/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/vanvugt/mediatomb/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.

$ 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 (= 1:2.0.6-dmo3) but it is not going to be installed 
   Recommends: vlc-plugin-notify (= 1:2.0.6-dmo3) but it is not going to be installed
   Recommends: vlc-plugin-pulse (= 1:2.0.6-dmo3) but it is not going to be installed 
E: Unable to correct problems, you have held broken packages. –

答案1

确保已启用典型伙伴文件中的存储库/etc/apt/sources.list

  1. 首先备份/etc/apt/sources.list文件:

    sudo cp /etc/apt/sources.list /etc/sources.list.bk
    
  2. 使用任何编辑器打开文件并取消注释删除以下行##从一开始就:

    deb http://archive.canonical.com/ubuntu trusty partner

    sudo nano /etc/apt/sources.list
    

    ctrl+w搜索典范取消注释后,

    ctrl+保存并退出xy

  3. 更新存储库并安装 vlc:

    sudo apt-get update
    sudo apt-get install vlc -f
    

实际上,有些组件无法从本机存储库获得,它需要来自其他来源的其他存储库规范合作伙伴。您可以尝试一下。如果您有任何问题或需要进一步说明,请告诉我。

答案2

在终端中运行以下命令:

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install vlc vlc-plugin-*

相关内容