protonscr

»libgl1-mesa-dri:i386« does not exist

steamopen Distro Family: Ubuntu
ValveSoftware/steam-for-linux#7663 · opened 2021-02-17 by ragsnas · updated 2021-02-22 · 4 comments · github
Rragsnas 2021-02-17 github

Your system information

  • System: CPU: Intel Core i7 8th gen, GPU: Intel UHD-Grafik 620
  • Steam client version (1:1.0.0.68 / steam:i386 / steam_1%3a1.0.0.68_i386.deb / today: Feb 17, 2021):
  • Distribution (Ubuntu 20.04 64-bit):
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

If i install steam, it runs thru without errors.
THou when i start i get this error.

Package libgl1-mesa-dri:i386 needs to be installed
Package libgl1:i386 needs to be installed
Package libc6:i386 needs to be installed

ending in

Error: You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
libdrm.so.2
...
Failed to load steamui.so - dlerror(): libGL.so.1: wrong ELF class: ELFCLASS64
[2021-02-17 21:21:44] Shutdown

When i try to install it manually, it says:
»libgl1-mesa-dri:i386« does not exist
I have multivese active, i did sudo apt-get update/upgrade.

Steps for reproducing this issue:

  1. install ubuntu 20.04 having a Intel UHD-Grafik 620 GPU
  2. install steam
  3. start steam
Kkisak-valve maintainer 2021-02-17 github

Hello @ragsnas, Ubuntu's repositories definitely have this package https://packages.ubuntu.com/focal-updates/i386/libgl1-mesa-dri/filelist.
What does apt policy libgl1-mesa-dri libgl1-mesa-dri:i386 give you?

Those guillemets look unusual, what's the exact command you tried to install the package?

Rragsnas 2021-02-18 github

@kisak-valve
For install i tried both sudo apt-get install steam and downloading latest version and then sudoi apt-get install .steam.deb
I did sudo apt-get update && sudo apt-get upgrade && sudo apt-get clean && sudo apt-get autoclean beforehand.

libgl1-mesa-dri:
  Installiert:           20.2.6-0ubuntu0.20.04.1
  Installationskandidat: 21.1~git2102180600.fa3cd1~oibaf~f
  Versionstabelle:
     21.1~git2102180600.fa3cd1~oibaf~f 500
        500 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal/main amd64 Packages
 *** 20.2.6-0ubuntu0.20.04.1 500
        500 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     20.0.4-2ubuntu1 500
        500 http://de.archive.ubuntu.com/ubuntu focal/main amd64 Packages
libgl1-mesa-dri:i386:
  Installiert:           (keine)
  Installationskandidat: 21.1~git2102180600.fa3cd1~oibaf~f
  Versionstabelle:
     21.1~git2102180600.fa3cd1~oibaf~f 500
        500 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu focal/main i386 Packages
Kkisak-valve maintainer 2021-02-18 github

Thanks, your output from apt policy libgl1-mesa-dri libgl1-mesa-dri:i386 tells us two things, first, mesa 20.2.6-0ubuntu0.20.04.1 and 20.0.4-2ubuntu1 are only available for amd64 (64 bit) while we need both to be available. Second, You've added the Oibaf PPA, but for some reason apt hasn't updated to the higher package version in a routine update. I'm going to ignore the latter as irrelevant.

Looking at http://ubuntu-master.mirror.tudos.de/ubuntu/pool/main/m/mesa/, it's not an issue with the repository mirror you use.

Maybe dpkg --print-architecture && dpkg --print-foreign-architectures would tell us if multi-arch got disabled. On my Ubuntu test box, this command gives me:

amd64
i386

If multi-arch is disabled, then it would only have amd64 and you'd want to enable it with something like

sudo dpkg --add-architecture i386
sudo apt update
sudo apt upgrade

Then check if apt policy libgl1-mesa-dri libgl1-mesa-dri:i386 shows the same versions for both amd64 and i386. After that please retry sudo apt install libgl1-mesa-dri libgl1-mesa-dri:i386. If that complains, then please share what it outputs.

To be clear, the issue you're seeing is with Ubuntu and running any 32 bit software, and not only a problem with Steam. Ubuntu's community is more likely to have some insight your package manager issue.

TTTimo 2021-02-22 github

@ragsnas please consider using Valve's official steam package rather than Ubuntu's modified version. We expect you'll have fewer problems. See http://repo.steampowered.com/steam/ for details.

Nothing extracted yet.