apt-get 错误,无法安装许多软件包?

apt-get 错误,无法安装许多软件包?

我该如何修复它?它显示错误,我不知道如何修复它。我想安装 crossover。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 crossover:i386 : Depends: libc6:i386 (>= 2.3) but it is not installed
                  Depends: libice6:i386 but it is not installed or
                           xlibs:i386 but it is not installable
                  Depends: libsm6:i386 but it is not installed or
                           xlibs:i386 but it is not installable
                  Depends: libx11-6:i386 but it is not installed or
                           xlibs:i386 but it is not installable
                  Depends: libxext6:i386 but it is not installed or
                           xlibs:i386 but it is not installable
                  Depends: libfreetype6:i386 but it is not installed
                  Depends: libz1:i386
                  Depends: perl5-base:i386
                  Depends: perl-modules:i386 but it is not installable
                  Depends: python:i386 (>= 2.4) but it is not installed
                  Depends: python-gtk2:i386 but it is not installed
                  Depends: python-glade2:i386 but it is not installed
                  Depends: desktop-file-utils:i386 but it is not installed
                  Depends: libasound2:i386 but it is not installed
                  Depends: libgl1:i386
                  Depends: libxrandr2:i386 but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

编辑

我最近又犯了另一个错误。

You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 crossover:i386 : Depends: libc6:i386 (>= 2.3) but it is not installed
                  Depends: libice6:i386 but it is not installed or
                           xlibs:i386 but it is not installable
                  Depends: libsm6:i386 but it is not installed or
                           xlibs:i386 but it is not installable
                  Depends: libx11-6:i386 but it is not installed or
                           xlibs:i386 but it is not installable
                  Depends: libxext6:i386 but it is not installed or
                           xlibs:i386 but it is not installable
                  Depends: libfreetype6:i386 but it is not installed
                  Depends: libz1:i386
                  Depends: perl5-base:i386
                  Depends: perl-modules:i386 but it is not installable
                  Depends: python:i386 (>= 2.4) but it is not installed
                  Depends: python-gtk2:i386 but it is not installed
                  Depends: python-glade2:i386 but it is not installed
                  Depends: desktop-file-utils:i386 but it is not installed
                  Depends: libasound2:i386 but it is not installed
                  Depends: libgl1:i386
                  Depends: libxrandr2:i386 but it is not installed
E: Unmet dependencies. Try using -f.

apt-get -f install每次运行都会出现同样的错误。

答案1

我自己已经解决了这个问题。

赶紧跑 :

sudo apt-get autoremove crossover:i386

并重新安装。

相关内容