Steam for Linux

Steam for Linux

8bit Jun 3, 2022 @ 8:03am
unable to install steam in Ubuntu 20.04
You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
libdrm.so.2
libdrm.so.2
libdrm.so.2

the following packages have unmet dependencies:
libgl1-mesa-dri:i386 : Depends: libllvm14:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Originally posted by dilatedjux:
Hmm. Something might be broken with the packages from the 20.04 repository. Not sure if its fixed in 22.04, but maybe try it on the latest release.
< >
Showing 1-15 of 30 comments
have you gone into the additional drivers app and made sure that everything is installed?
Also where did you get stream from? Valves website or the app store on your system (Highly recommended)
dilatedjux Jun 3, 2022 @ 8:07am 
Its been a while since I've used Ubuntu, but I think you'll need to enable 32bit repos using:
sudo dpkg --add-architecture i386
and then install 32bit mesa libs:
sudo apt install libgl1-mesa-dri:i386 libgl1:i386
and just incase:
sudo apt-get install libc6-i386

(reboot if needed)

Then install steam.
Last edited by dilatedjux; Jun 3, 2022 @ 8:15am
Bloo Alien Jun 3, 2022 @ 8:23am 
Originally posted by DilatedJux:
Its been a while since I've used Ubuntu, but I think you'll need to enable 32bit repos using:
sudo dpkg --add-architecture i386
and then install 32bit mesa libs:
sudo apt install libgl1-mesa-dri:i386 libgl1:i386
and just incase:
sudo apt-get install libc6-i386

(reboot if needed)

Then install steam.

You are absolutely correct. Enabling and installing 32bit compatibility support is 100% the right way to solve this particular problem.
8bit Jun 3, 2022 @ 8:26am 
after sudo apt install libgl1-mesa-dri:i386 libgl1:i386:

The following packages have unmet dependencies:
libgl1-mesa-dri:i386 : Depends: libllvm14:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
dilatedjux Jun 3, 2022 @ 8:37am 
After you install the 32 bit architecture be sure to run:
sudo apt update
and
sudo apt upgrade
and maybe restart.

If you're getting the error again, try:
sudo apt-add-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -cs)-updates main restricted universe multiverse"
and update and upgrade again, then install steam


@Bloo Alien
Thanks!
8bit Jun 3, 2022 @ 8:45am 
after following @DilatedJux instructions:

Err:9 http://archive.canonical.com/ubuntu focal-updates Release
404 Not Found [IP: 185.125.188.12 80]
Reading package lists... Done
E: The repository 'http://archive.canonical.com/ubuntu focal-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Last edited by 8bit; Jun 3, 2022 @ 8:56am
8bit Jun 3, 2022 @ 8:47am 
I deleted the added repository to get back to normal
I'm back at the same original problem
Last edited by 8bit; Jun 3, 2022 @ 9:00am
dilatedjux Jun 3, 2022 @ 9:02am 
Hmm.... I'm thinking....
If you were to run:
dpkg --print-foreign-architectures
Does it print i386?

and if that works, can you see if there's in fact broken packages by running:
sudo apt-get --fix-broken install
Last edited by dilatedjux; Jun 3, 2022 @ 9:02am
8bit Jun 3, 2022 @ 9:11am 
it prints i386.
sudo apt-get --fix-broken istall ---> returns 0
dilatedjux Jun 3, 2022 @ 9:20am 
Well, at least the 32bit architecture is working, now we just need to figure out whats going on with the mesa packages not installing. Assuming you're distro is 'up-to-date' and upgraded Can you try:
sudo apt-get install libgl1-mesa-glx:amd64
sudo apt-get libgl1-mesa-glx:i386
then try running
sudo apt-get install libgl1-mesa-dri:amd64
sudo apt-get install libgl1-mesa-dri:i386
and see if it returns any errors?


Also, if you can, try running the DEB file off Steam's website.
Last edited by dilatedjux; Jun 3, 2022 @ 9:23am
8bit Jun 3, 2022 @ 9:24am 
The following packages have unmet dependencies:
libgl1-mesa-glx:i386 : Depends: libgl1:i386 but it is not going to be installed
Depends: libglx-mesa0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
dilatedjux Jun 3, 2022 @ 9:29am 
hmmmmmmmmmmm... try:
sudo apt-get install -f && sudo apt-get update && sudo apt-get install ia32-libs-multiarch

Then rerun the above lib installation.

Worst comes to worst, there's always the flatpak.
Last edited by dilatedjux; Jun 3, 2022 @ 9:30am
8bit Jun 3, 2022 @ 9:31am 
E: Unable to locate package ia32-libs-multiarch
8bit Jun 3, 2022 @ 9:31am 
the weird thing is I never had this problem before
dilatedjux Jun 3, 2022 @ 9:35am 
This is a weird one, if you don't mind me asking, what graphics card are you using?
< >
Showing 1-15 of 30 comments
Per page: 1530 50

Date Posted: Jun 3, 2022 @ 8:03am
Posts: 30