这是下面的代码。我尝试做
apt --fix-broken install
没有什么对我有用。
apt-get install libgl1-nvidia-glx:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gcc-6-multilib : Depends: libc6-dev-i386 (>= 2.11) but it is not going to be installed
libc6-dev-x32 : Depends: libc6-dev-i386 (= 2.24-10) but it is not going to be installed
libgl1-glvnd-nvidia-glx : Conflicts: libgl1-nvidia-glx:i386 but 375.39-1 is to be installed
libgl1-nvidia-glx:i386 : Depends: libnvidia-glcore:i386 (= 375.39-1) but it is not going to be installed
Depends: libx11-6:i386 but it is not going to be installed
Depends: libxext6:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
编辑:我尝试删除所有软件包并清除它们,但没有任何作用。一直在研究解决此问题的方法,但我找不到任何东西。
答案1
这是解决 apt 问题的新用户的所有方法。
dpkg --purge --force-depends "package name"
这就是我们(我的)问题的答案。就我个人而言,我删除了所有给我带来问题的软件包,并重新安装了程序。
dpkg --purge --force-depends "gcc-multilib"