Lutris syntax error in since apt -fullupgrade

I am on elementary OS (18.04) running lutris quite nicely until today’s update of lutris further to apt-fullupgrade

short abstract where the error happens:

Sélection du paquet libgirepository1.0-dev:amd64 précédemment désélectionné.
Préparation du dépaquetage de …/13-libgirepository1.0-dev_1.56.1-1_amd64.deb …
Dépaquetage de libgirepository1.0-dev:amd64 (1.56.1-1) …
Paramétrage de lutris (0.5.9~ubuntu18.04.1) …

strong textFile “/usr/lib/python3/dist-packages/lutris/runners/”, line 243
if library_config := self.get_library_config():
SyntaxError: invalid syntax

dpkg: erreur de traitement du paquet lutris (–configure) :
installed lutris package post-installation script subprocess returned error exit status 1strong text

Paramétrage de libffi-dev:amd64 (3.2.1-8) …
Paramétrage de python3-markupsafe (1.0-1build1) …

can someone guide me to have it working properly like before.
thank you so much.


I also have this problem. Time to panic.

I had the same problem (see my thread). I had to roll back to lutris version to avoid the invalid syntax error. I hope this helps.

Seems like we’re threading the same waters… I figured it’d be important to include most relevant info, along with getting folks to engage to brings dev eyes to this issue, posthaste. As it seems to entirely prevent launching Lutris, if one does not downgrade back to previous version.
With the pretense of more info, the better, here’s my setup:

OS: Linux Mint 19.3 Tricia x86_64
Kernel: 5.4.0-87-generic
Uptime: 1 day, 27 mins
Packages: 3601
Shell: bash 4.4.20
Resolution: 1920x1080
DE: Cinnamon 4.4.8
WM: Mutter (Muffin)
WM Theme: Tyr-jord (CBlack)
Theme: Mint-Y-Dark-Pink [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: xfce4-terminal
Terminal Font: Monospace 10
CPU: Intel i5-8600K (6) @ 4.500GHz
GPU: NVIDIA GeForce GTX 1080
GPU: Intel Integrated Graphics
Memory: 5022MiB / 31986MiB

My setup:
$ inxi -b
Host: desktop Kernel: 4.19.0-18-amd64 x86_64 bits: 64 Desktop: Xfce 4.14.2
Distro: MX-19.4_x64 patito feo October 21 2019
Type: Desktop System: Hewlett-Packard product: HP Compaq 8100 Elite CMT PC v: N/A
Mobo: Hewlett-Packard model: 304Bh serial: BIOS: Hewlett-Packard
v: 786H1 v01.13 date: 07/14/2011
Dual Core: Intel Core i5 650 type: MT MCP speed: 1463 MHz min/max: 1199/3333 MHz
Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] driver: nvidia v: 470.63.01
Display: x11 server: X.Org 1.20.10 driver: nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 470.63.01
Device-1: Intel 82578DM Gigabit Network driver: e1000e
Local Storage: total: 1.36 TiB used: 796.10 GiB (57.0%)
Processes: 198 Uptime: 31m Memory: 9.63 GiB used: 1.75 GiB (18.2%) Shell: bash
inxi: 3.0.36

Further to Zhymm post a fix should be applied in order to have lutris working.

Host: Legion Kernel: 4.15.0-159-generic x86_64 bits: 64 Desktop: Gnome
Distro: elementary OS 5.1.7 Hera
Type: Desktop System: LENOVO product: Legion T730-28ICO
CPU: 8 core Intel Core i7-9700K (-MCP-) speed/max: 1399/4900 MHz
Graphics: Card: NVIDIA Device 1f02
Display Server: x11 (X.Org 1.19.6 ) drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
Resolution: 2560x1440@59.95hz
OpenGL: renderer: GeForce RTX 2070/PCIe/SSE2 version: 4.6.0 NVIDIA 460.91.03
Card-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter driver: r8822be
Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
Drives: HDD Total Size: 3256.6GB (2.5% used)
Info: Processes: 304 Uptime: 56 min Memory: 3793.4/15985.7MB Client: Shell (bash) inxi: 2.3.56

This will be fixed in the next Lutris release

Hi everyone, it seems that an issue has been opened and …
There is a workaround, see

Have a nice day