0
$ 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.

Here is the message that it gives me. I already tried to upgrade my system.

0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Kulfy
  • 17,416
  • 26
  • 64
  • 103
  • What version of Ubuntu are you using? Where did you get `lutris` from since it's not in the default repos for 18.04? – Organic Marble Apr 08 '20 at 14:19
  • 1
    What is the output of `apt-cache policy lutris mesa-utils`? – Kulfy Apr 08 '20 at 14:20
  • delpepito@delpepito:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 19.10 Release: 19.10 Codename: eoan – delpepito Zi Pepit Apr 09 '20 at 21:51
  • delpepito@delpepito:~$ apt-cache policy lutris mesa-utils lutris: Installed: (none) Candidate: 0.5.5 Version table: 0.5.5 500 500 http://ppa.launchpad.net/lutris-team/lutris/ubuntu eoan/main amd64 Packages mesa-utils: Installed: (none) Candidate: (none) Version table: – delpepito Zi Pepit Apr 09 '20 at 21:51
  • It seems you have deleted/messed sources.list. Try restoring default repositories from Software and Updates application. Once done, run `sudo apt update; sudo apt install lutris`. If you still encounter errors, ping me in comments using @Kulfy so that I won't miss any comment like I missed the last one. – Kulfy Apr 11 '20 at 10:10
  • How do i restore it sorry i'm a beginner ? @Kulfy – delpepito Zi Pepit Apr 12 '20 at 20:09
  • I did some research on internet about restoring software i found this command delpepito@delpepito:~$ sudo apt-get install software-properties-gtk but it returns me that E: Unable to locate package software-properties-gtk – delpepito Zi Pepit Apr 12 '20 at 20:35
  • Does this answer your question? [How do I restore the default repositories?](https://askubuntu.com/questions/124017/how-do-i-restore-the-default-repositories) – Kulfy Apr 13 '20 at 06:09
  • Does this answer your question? [Unable to correct problems, you have held broken packages](https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages) – karel Apr 13 '20 at 08:53

3 Answers3

2

Late to the party but I found that everything works if you enable Canonical-supported free and open software (main) in the Software & Updates app.

BeastOfCaerbannog
  • 12,964
  • 10
  • 49
  • 77
robert
  • 21
  • 2
1

I was able to install Lutris after enable all checkbox in Software & Updates as in the attached figure below.

  • Canonical-supported free and open-source software (main)
  • Community-maintained free and open-source software (universe)
  • Proprietary drivers for devices (restricted)
  • Software restricted by copyright or legal issues (multiverse)

Software & Updates - img

matigo
  • 20,403
  • 7
  • 43
  • 70
  • Hello. The OP states the error is unmet dependencies. You can not solve that issue this way. They need to install the missing files one at a time. Your answer does not fix unmet dependencies. – David Mar 29 '22 at 06:57
-1

i was able to solve this by installing build-essential following https://railsblogs.rohityadav.in/2019/06/e-package-aptitude-has-no-installation.html

  1. follow the steps in the link until the last(install aptitude)
  2. restart
  3. apt-get update followed by apt-get upgrade followed by apt-get dist-upgrade
  4. and then sudo apt-get install --fix-missing lutris

there is no need to use aptitude

  • Installing build-essential will not help as it seems missing dependencies. – KK Patel May 30 '20 at 20:09
  • By posting a link here and asking to follow steps in it, the answer is kind of incomplete... I took a look at the link. You could just put down the steps here thus fully keeping your provided solution here. – ThunderBird May 30 '20 at 22:04