我无法安装任何东西

我无法安装任何东西

当我运行sudo apt install lutris时我收到此错误消息

You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc6-dbg : Depends: libc6 (= 2.27-3ubuntu1.3) but 2.27-3ubuntu1.2 is to be installed
 libc6-dev : Depends: libc6 (= 2.27-3ubuntu1.3) but 2.27-3ubuntu1.2 is to be installed
 lutris : Depends: python3-setproctitle but it is not going to be installed
          Depends: python3-distro but it is not going to be installed
          Depends: fluid-soundfont-gs but it is not going to be installed
          Depends: mesa-utils but it is not going to be installed
          Recommends: libc6-i386 but it is not going to be installed
          Recommends: lib32gcc1 but it is not going to be installed or
                      lib32gcc-s1 but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

正如你所料,我运行了 sudo apt --fix-broken install,然后收到此错误消息

Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.27-3ubuntu1.3_amd64.deb
 /var/cache/apt/archives/libc6_2.27-3ubuntu1.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

我该怎么办?

答案1

我认为当前的 libc6 版本是 2.31-4。也许 ubfan1 是对的。试试看。

sudo apt update && sudo apt upgrade

相关内容