Score:3

How Can I Update Lutris

tr flag

I am on Ubuntu 20.04 desktop and when I try to update / upgrade lutris, I always get this error

The following packages have unmet dependencies:
 lutris : Depends: gir1.2-webkit2-4.1 but it is not installable
E: Unable to correct problems, you have held broken packages.

I searched Ubuntu Packages websites and see that gir1.2-webkit2-4.1:
https://packages.ubuntu.com/search?keywords=Gir1.2-webkit2-4.1&searchon=names&suite=kinetic&section=all

Is only available for ubuntu 22.04 or on debian.

How should I proceed?

mchid avatar
bo flag
I added an EDIT below. The version on their Github uses `gir1.2-webkit2-4.0` so there should be no dependency issues, assuming that there are no other issues with the other dependencies.
Score:3
bo flag

If this is from the lutris-team/lutris PPA, you should file a bug report with the maintainers. And yes, you are correct that the dependency isn't available for 20.04.

How you should proceed is kind of a matter of opinion. It depends on how bad you want to use Lutris on 20.04. You have one option of upgrading to 22.04. Alternatively, you could file a bug with the maintainers and hold the current version to prevent automatic upgrades so that you can continue using a non-upgraded version of Lutirs on 20.04. If/when the bug is fixed, you could release the hold and then upgrade.

Installing gir1.2-webkit2-4.1 on 20.04 doesn't look like a good option because there are multiple dependencies needed for gir1.2-webkit2-4.1 that are not available on 20.04.

gir1.2-webkit2-4.0 is available on both 20.04 and later versions like 22.04 and newer. Using this version instead of gir1.2-webkit2-4.1 may be an option for the developers and you may want to mention this when filing the bug report.

EDIT

A final option would be to download and install the deb from their github but you will have to manually download and install future updates. This version uses gir1.2-webkit2-4.0 so there should be no dependency issues.

Also, you will probably have to either disable the PPA until they fix the bug or hold the github version to prevent automatic upgrades after installation (again, until they fix the bug).

Ondra Žižka avatar
pl flag
Installing on 20.04 from their github with `--fix-broken` works.
Score:0
cn flag

You can temporarily remove Lutris. You can install Lutris back when you make the necessary update.

sudo apt remove lutris
# ...
sudo apt install lutris
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.