当我尝试安装 Lutris 时它无法工作

当我尝试安装 Lutris 时它无法工作
$ sudo apt install lutris
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 lutris : Depends: python3-evdev but it is not installable
          Depends: cabextract but it is not installable
          Depends: fluid-soundfont-gs but it is not installable
          Depends: mesa-utils but it is not installable
          Recommends: gvfs-backends
          Recommends: libwine-development but it is not installable
          Recommends: winetricks but it is not installable
          Recommends: libc6-i386 but it is not going to be installed
          Recommends: lib32gcc1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

这是它给我的消息。我已经尝试升级我的系统了。

0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

答案1

迟到了,但我发现,如果你启用Canonical 支持的自由开放软件(主要)在软件和更新应用程序中。

答案2

我可以在启用所有复选框后安装 Lutris软件与更新如下图所示。

  • Canonical 支持的免费开源软件(主要)
  • 社区维护的自由开源软件(宇宙)
  • 设备专有驱动程序(受限)
  • 受版权或法律问题限制的软件(多元宇宙)

软件和更新 - img

答案3

我可以通过安装 build-essential 来解决这个问题 https://railsblogs.rohityadav.in/2019/06/e-package-aptitude-has-no-installation.html

  1. 按照链接中的步骤操作,直到最后(安装 aptitude)
  2. 重新开始
  3. apt-get update,然后是 apt-get upgrade,然后是 apt-get dist-upgrade
  4. 然后 sudo apt-get install --fix-missing lutris

无需使用 aptitude

相关内容