protonscr

Not able to fix "You are missing the following 32-bit libraries, and Steam may not run: libGL.so.1" because of unmeet dependency

steamopen Distro Family: Ubuntu
ValveSoftware/steam-for-linux#10233 · opened 2023-11-19 by chaogamer · updated 2024-10-10 · 5 comments · github
Cchaogamer 2023-11-19 github
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgl1-mesa-dri : Breaks: libgl1-mesa-dri:i386 (!= 21.2.6-0ubuntu0.1~20.04.2) but 23.2.1~kisak2~f is to be installed
 libgl1-mesa-dri:i386 : Depends: libdrm-amdgpu1:i386 (>= 2.4.110) but 2.4.107-8ubuntu1~20.04.2 is to be installed
                        Depends: libglapi-mesa:i386 (= 23.2.1~kisak2~f) but 21.2.6-0ubuntu0.1~20.04.2 is to be installed
                        Breaks: libgl1-mesa-dri (!= 23.2.1~kisak2~f) but 21.2.6-0ubuntu0.1~20.04.2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages

literally the packages is telling me to install doesn't even exist, so how am i suppose to run steam if im not able to download the necessary packages needed because of non existence dependencies?

Cchaogamer 2023-11-19 github

doesn't tell me exactly which dependencies are missing

steam.sh[9295]: Running Steam on zorin 16 64-bit
steam.sh[9295]: STEAM_RUNTIME is enabled automatically
setup.sh[9363]: Steam runtime environment up-to-date!
steam.sh[9295]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
steam.sh[9295]: Steam client's requirements are satisfied
[2023-11-19 14:01:34] Startup - updater built Nov 16 2023 18:22:28
[2023-11-19 14:01:34] Startup - Steam Client launched with: '/home/winme11/.steam/debian-installation/ubuntu12_32/steam'
11/19 14:01:34 Init: Installing breakpad exception handler for appid(steam)/version(1700160213)/tid(9443)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2023-11-19 14:01:34] Loading cached metrics from disk (/home/winme11/.steam/debian-installation/package/steam_client_metrics.bin)
[2023-11-19 14:01:34] Using the following download hosts for Public, Realm steamglobal
[2023-11-19 14:01:34] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-11-19 14:01:34] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-11-19 14:01:34] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-11-19 14:01:34] Checking for update on startup
[2023-11-19 14:01:34] Checking for available updates...
[2023-11-19 14:01:34] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12
[2023-11-19 14:01:34] Manifest download: send request
[2023-11-19 14:01:34] Manifest download: waiting for download to finish
[2023-11-19 14:01:35] Manifest download: finished
[2023-11-19 14:01:35] Download skipped: /steam_client_ubuntu12 version 1700160213, installed version 1700160213, existing pending version 0
[2023-11-19 14:01:35] Nothing to do
[2023-11-19 14:01:35] Verifying installation...
[2023-11-19 14:01:35] Performing checksum verification of executable files
[2023-11-19 14:01:35] Verification complete
dlmopen steamui.so failed: libGL.so.1: wrong ELF class: ELFCLASS64
Failed to load steamui.so - dlerror(): (null)


Kkisak-valve maintainer 2023-11-19 github

Hello @chaogamer, the Steam client requires that the host system provides 32 bit and 64 bit OpenGL video drivers. Your terminal spew is telling us that your system doesn't have 32 bit OpenGL.

The Debian package management tools which your distro inherits requires that all arch (32 bit and 64 bit) variants of a package must have exactly the same version. The dependency conflict reads like you've installed a newer version of mesa from a PPA, but your system is not configured to have the 32 bit packages from that PPA for some reason.

Can you inspect what packages are available with something like apt policy libgl1-mesa-dri libgl1-mesa-dri:i386 and share the output?

Cchaogamer 2023-11-19 github
libgl1-mesa-dri:
  Installed: 21.2.6-0ubuntu0.1~20.04.2
  Candidate: 23.2.1~kisak2~f
  Version table:
     23.2.1~kisak2~f 500
        500 http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu focal/main amd64 Packages
     22.2.0.20220625.1+3091 500
        500 https://repositories.intel.com/graphics/ubuntu focal/main amd64 Packages
 *** 21.2.6-0ubuntu0.1~20.04.2 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu focal-security/main amd64 Packages
        100 /var/lib/dpkg/status
     21.2.2-1ubuntu1~20.04.1~ppa1 500
        500 http://ppa.launchpad.net/ubuntu-x-swat/updates/ubuntu focal/main amd64 Packages
     20.0.4-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
libgl1-mesa-dri:i386:
  Installed: (none)
  Candidate: 23.2.1~kisak2~f
  Version table:
     23.2.1~kisak2~f 500
        500 http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu focal/main i386 Packages
     21.2.6-0ubuntu0.1~20.04.2 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages
        500 http://archive.ubuntu.com/ubuntu focal-security/main i386 Packages
        100 /var/lib/dpkg/status
     21.2.2-1ubuntu1~20.04.1~ppa1 500
        500 http://ppa.launchpad.net/ubuntu-x-swat/updates/ubuntu focal/main i386 Packages
     20.0.4-2ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/main i386 Packages

Kkisak-valve maintainer 2023-11-19 github

Thanks, that tells us that that libgl1-mesa-dri has matched versions available between arches.

Looking at the available versions, it does tell us that you have a third party repository from https://repositories.intel.com/graphics/ubuntu which doesn't provide 32 bit packages. I suspect that you have a dependency of mesa from that repository which doesn't have a matched i386 variant available.

You'll need to start walking down the dependency tree until you find which package doesn't have matched versions. Since libdrm-amdgpu1 and libglapi-mesa are mentioned in the initial troubleshooting step, I'd check them next with something like apt policy libdrm-amdgpu1 libdrm-amdgpu1:i386 libglapi-mesa libglapi-mesa:i386. Then pick one of them and ask apt to install both arches at the same time with something like sudo apt install libdrm-amdgpu1 libdrm-amdgpu1:i386 and you should either reduce the scope of the package conflict or get some more package names to inspect, and repeat that process until you find which package has a 64 bit version installed, but doesn't have a matched version available for 32 bit. Important: If apt asks at any time to remove a bunch of packages, do not let it proceed and wreck your system.

Wwvandolen 2024-10-10 github

I'm really late here, but I need help anyone there?

Nothing extracted yet.