以下软件包具有未满足的依赖关系,无法初始化软件包信息

以下软件包具有未满足的依赖关系,无法初始化软件包信息

我知道这似乎与其他问题重复。但那里提到的答案都不能解决这个问题:

  • 当我尝试使用软件更新来更新我的系统时,收到一条错误消息:

    在此处输入图片描述

  • 当我尝试时sudo apt-get upgrade,我得到了这个:

    vishwa@vishwa-PC:~$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
     libcogl15 : Depends: libgbm1 (>= 8.1~0) but it is not installed
     libqt5gui5 : Depends: libgbm1 (>= 8.1~0) but it is not installed
    E: Unmet dependencies. Try using -f.
    
  • 当我跑步时sudo apt-get -f install

    vishwa@vishwa-PC:~$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... failed.
    The following packages have unmet dependencies:
     libcogl15 : Depends: libgbm1 (>= 8.1~0) but it is not installed
     libqt5gui5 : Depends: libgbm1 (>= 8.1~0) but it is not installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    
  • 我的软件属性-gtk 如下所示:

    在此处输入图片描述

欢迎大家回答。请帮我一下。

编辑:@Raphael,-输出mkdir ~/Downloads/tmp; cd ~/Downloads/tmp; wget -c http://kr.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgbm1_10.1.0-4ubuntu5_amd‌​64.deb; sudo dpkg -i *.deb; rm -rf ~/Downloads/tmp

  --2016-01-20 22:06:42--  http://kr.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgbm1_10.1.0-4ubuntu5_amd%E2%80%8C%E2%80%8B64.deb
Resolving kr.archive.ubuntu.com (kr.archive.ubuntu.com)... 103.22.220.133
Connecting to kr.archive.ubuntu.com (kr.archive.ubuntu.com)|103.22.220.133|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2016-01-20 22:06:43 ERROR 404: Not Found.

--2016-01-20 22:06:43--  http://kr.archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgbm1_10.1.0-4ubuntu5_amd%E2%80%8C%E2%80%8B64.deb
Reusing existing connection to kr.archive.ubuntu.com:80.
HTTP request sent, awaiting response... 404 Not Found
2016-01-20 22:06:43 ERROR 404: Not Found.

dpkg: error processing archive *.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 *.deb
vishwa@vishwa-PC:~/Downloads/tmp$ 

注意:我使用 Ubuntu 14.04.3 LTS

  • 输出apt-cache policy libgbm1

    vishwa@vishwa-PC:~$ apt-cache policy libgbm1 libgbm1: Installed: 10.1.0-4ubuntu5 Candidate: 11.0.4~git20151026+11.0.ec14e6f8-0ubuntu0ricotz~trusty Version table: 11.0.4~git20151026+11.0.ec14e6f8-0ubuntu0ricotz~trusty 0 500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ trusty/main amd64 Packages 10.1.3-0ubuntu0.5 0 500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages *** 10.1.0-4ubuntu5 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status vishwa@vishwa-PC:~$

答案1

因此,正如我们在聊天室中发现的那样,错误是由ppa-ppa:xorg-edgers/ppa及其所有软件包引起的。删除它并添加新的ppanvidia 驱动程序ppa:graphics-drivers/ppa解决了这个问题。很高兴!我们解决了。

相关内容