无法在 15.04 上安装 VLC - 无法解析依赖关系

无法在 15.04 上安装 VLC - 无法解析依赖关系

从安装软件中心我明白了

无法解析软件包依赖关系

This error could be caused by required additional software packages
which are missing or not installable. Furthermore there could be a
conflict between software packages which are not allowed to be
installed at the same time.

vlc: Depends: vlc-nox (= 2.2.0-1) but 2.2.0-1 is to be installed  
      Depends: libavcodec-extra-56 (>= 6:11.2) but 6:11.2-1 is to be installed  
      Depends: libavutil54 (>= 6:11~beta1) but 6:11.2-1 is to be installed  
      Depends: libc6 (>= 2.16) but 2.21-0ubuntu4 is to be installed  
      Depends: libegl1-x11 but it is a virtual package  
      Depends: libfreetype6 (>= 2.2.1) but 2.5.2-2ubuntu3 is to be installed  
      Depends: libgcc1 (>= 1:4.1.1) but 1:5.1~rc1-0ubuntu1 is to be installed  
      Depends: libgles1 but it is a virtual package  
      Depends: libgles2 but it is a virtual package  
      Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.6+git64-g5dc8b2b+dfsg-3~ubuntu6.1 is to be installed  
      Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.6+git64-g5dc8b2b+dfsg-3~ubuntu6.1 is to be installed  
      Depends: libstdc++6 (>= 4.9) but 4.9.2-10ubuntu13 is to be installed  
      Depends: zlib1g (>= 1:1.2.3.3) but 1:1.2.8.dfsg-2ubuntu1 is to be installed  

我没有从 PPA 使用它,例如这里或者这里

这些是我的软件来源:

在此处输入图片描述

sudo apt-get install --fix-missing(之后)的输出sudo apt-get update为:

The following packages were automatically installed and are no longer
required:   libafpclient0 linux-headers-3.19.0-23
linux-headers-3.19.0-23-generic   linux-image-3.19.0-23-generic
linux-image-extra-3.19.0-23-generic Use 'apt-get autoremove' to remove
them. 0 to upgrade, 0 to newly install, 0 to remove and 24 not to
upgrade.

使用 Synaptic 包管理器,没有损坏的包:

在此处输入图片描述

步骤这个问题对我来说没用。以下是链接问题末尾请求的输出:

nikolai@dante:~$ sudo apt-get install vlc
[sudo] password for nikolai: 
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: libgles1-mesa (>= 7.8.1) but it is not going to be installed or
                libgles1
       Depends: libgles2-mesa (>= 7.8.1) but it is not going to be installed or
                libgles2
E: Unable to correct problems, you have held broken packages.
nikolai@dante:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1)]/ utopic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ vivid main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ vivid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ vivid-updates main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ vivid-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://gb.archive.ubuntu.com/ubuntu/ vivid universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ vivid universe
deb http://gb.archive.ubuntu.com/ubuntu/ vivid-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ vivid-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://gb.archive.ubuntu.com/ubuntu/ vivid multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ vivid multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ vivid-updates multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ vivid-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://gb.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu vivid-security main restricted
deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted
deb http://security.ubuntu.com/ubuntu vivid-security universe
deb-src http://security.ubuntu.com/ubuntu vivid-security universe
deb http://security.ubuntu.com/ubuntu vivid-security multiverse
deb-src http://security.ubuntu.com/ubuntu vivid-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu vivid partner
deb-src http://archive.canonical.com/ubuntu utopic partner

# deb http://www.xylasoft.com/apt precise main
nikolai@dante:~$ cat /etc/apt/sources.list.d/*
# deb http://archive.getdeb.net/ubuntu utopic-getdeb games # disabled on upgrade to vivid
deb http://archive.getdeb.net/ubuntu utopic-getdeb games
# deb http://archive.getdeb.net/ubuntu utopic-getdeb games # disabled on upgrade to vivid
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu vivid main
deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu vivid main
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu vivid main
deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu vivid main
# deb http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu vivid main # disabled on upgrade to vivid
deb-src http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu utopic main
deb http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu utopic main
# deb-src http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu utopic main
# deb http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu vivid main # disabled on upgrade to vivid
deb-src http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu utopic main
# deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu vivid main # disabled on upgrade to vivid
# deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu utopic main
# deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu utopic main
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu utopic main
# deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu utopic main
# deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu utopic main
# deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu vivid main # disabled on upgrade to vivid
# deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu utopic main
# deb-src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu utopic main
nikolai@dante:~$ 

记录步骤这个问题

nikolai@dante:~$ sudo apt-get clean
[sudo] password for nikolai: 
nikolai@dante:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nikolai@dante:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
nikolai@dante:~$ sudo dpkg --configure -a
nikolai@dante:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
nikolai@dante:~$ sudo apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
nikolai@dante:~$ sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

uname -a给出 在此处输入图片描述

将我的 sources.list 更新为(由http://repogen.simplylinux.ch/

#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                             #
#------------------------------------------------------------------------------#


###### Ubuntu Main Repos
deb http://uk.archive.ubuntu.com/ubuntu/ vivid main restricted universe multiverse 
deb-src http://uk.archive.ubuntu.com/ubuntu/ vivid main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://uk.archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse 
deb http://uk.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe multiverse 
deb http://uk.archive.ubuntu.com/ubuntu/ vivid-proposed main restricted universe multiverse 
deb http://uk.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse 
deb-src http://uk.archive.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse 
deb-src http://uk.archive.ubuntu.com/ubuntu/ vivid-updates main restricted universe multiverse 
deb-src http://uk.archive.ubuntu.com/ubuntu/ vivid-proposed main restricted universe multiverse 
deb-src http://uk.archive.ubuntu.com/ubuntu/ vivid-backports main restricted universe multiverse 

并表演sudo apt-get update,,,,gvies :sudo apt-get cleansudo apt-get autocleansudo 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: libgles1-mesa (>= 7.8.1) but it is not going to be installed or
                libgles1
       Depends: libgles2-mesa (>= 7.8.1) but it is not going to be installed or
                libgles2
E: Unable to correct problems, you have held broken packages.

相关内容