Lutris : Depends: unrar but it is not installable

Hi all! I’m on a Debian and added Lutris to my package repository, but running sudo apt-get install lutris returns:

The following packages have unmet dependencies:
lutris : Depends: unrar but it is not installable
Recommends: python3-evdev 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

Any help would be appreciated. My neofetch output is:
OS: Debian GNU/Linux 9.5 (stretch) x86_64
Kernel: 4.9.0-8-amd64
Packages: 3542
Shell: bash 4.4.12
WM: KWin
CPU: Intel i5-6400 (4) @ 3.3GHz
GPU: Intel Integrated Graphics

Let me know if there’s any other information I can provide. Google didn’t turn up anything…

Run sudo apt intsall unrar most probably it will show the same error. Its actually because you maybe having other added repositories packages which are having a conflict with the python3-evdev and the other 2 shown. So you need to figure out which repo you added or package that you installed other than from the official repo conflicting with these three packages.

When I used ubuntu i simply use synaptic sudo apt install synaptic and install package in this case unrar from there and then synaptic shows which package is conflicting. Send the synaptic screen shot that will be helpful.

Hi Jatin,

I ran synaptic and searched for unrar. But, it’s not appearing in the list of packages at all!

Remove unrar-free, enable non-free repo, update, and install unrar.

/etc/apt/sources.list edit this file and add contrib non-free after main in all the debian repositories.

for example deb stretch main change this to deb stretch main contrib non-free and then sudo apt update
you can also do it using software manager or even synaptic
here is the synaptic screenshot.

here in the section(s) tab add non-free and contrib.

This will make many packages available including unrar :slight_smile:

Usually i recommend to not install debian the way you do instead use the debian non free DVD here it includes non free firmware and repos by default. but no issues :slight_smile: you can enable it by these 3 ways and dont forget to update after enabling repos.

1 Like

I’ll have to check on that but we probably can remove the unrar dependency. We ship a build of p7zip in the runtime which should handle rar archives properly.

1 Like

Thank you. The nonfree method worked - I had forgotten about Debian’s old “FOSS only!” strictness that also gave me a very hard time installing firmware.

Also strider that sounds like a great idea, anything to make it easier for noobs!