更新 Ubuntu,未满足的依赖项

更新 Ubuntu,未满足的依赖项

尝试打开 Ubuntu 软件中心时出现以下信息:

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.

当尝试执行时:sudo apt-get -f install得到这个:

Reading package lists... Done                                                  
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:
 leap : Depends: libgl1-mesa-glx (>= 7.7.1) or
                 libgl1-mesa-glx-lts-precise (>= 7.7.1) but it is not installable or
                 libgl1-mesa-glx-lts-quantal (>= 7.7.1) but it is not installed or
                 libgl1-mesa-glx-lts-raring (>= 7.7.1) but it is not installed or
                 libgl1-mesa-glx-lts-saucy (>= 7.7.1) but it is not installed or
                 libgl1-mesa-glx-lts-trusty (>= 7.7.1) but it is not installed
E: Unmet dependencies. Try using -f.

有人可以帮我弄这个吗?

答案1

祝你好运!

  1. sudo dpkg --configure -a
  2. sudo apt-get -f install
  3. sudo dpkg --configure -a
  4. sudo apt-get update

答案2

尝试sudo dpkg --purge --force-all leap

相关内容