protonscr

libgl1-mesa-dri : Recommends: libgl1-amber-dri but it is not going to be installed

steamclosed Distro Family: Ubuntu
ValveSoftware/steam-for-linux#8668 · opened 2022-07-03 by InsOpDe · updated 2022-07-03 · 3 comments · github
IInsOpDe 2022-07-03 github

Your system information

  • Distribution (e.g. Ubuntu):
cat /etc/issue                                      
TUXEDO OS 22.04 LTS\n \l

 lsb_release -a          
No LSB modules are available.
Distributor ID: Ubuntu
Description:    TUXEDO OS
Release:        22.04
Codename:       jammy
  • Opted into Steam client beta?: [No]
    PPA is
    deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
  • Have you checked for system updates?: [Yes]

Please describe your issue in as much detail as possible:

I want to install the steam launcher to my freshly installed Ubuntu

sudo apt-get install \                                                        
  libgl1-mesa-dri:amd64 \
  libgl1-mesa-dri:i386 \
  libgl1-mesa-glx:amd64 \
  libgl1-mesa-glx:i386 \
  steam-launcher
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libgl1-mesa-dri is already the newest version (22.0.1-1ubuntu2.1).
libgl1-mesa-dri set to manually installed.
steam-launcher is already the newest version (1:1.0.0.74).
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 : Recommends: libgl1-amber-dri but it is not going to be installed
                   Breaks: libgl1-mesa-dri:i386 (!= 22.0.1-1ubuntu2.1) but 22.0.1-1ubuntu2 is to be installed
 libgl1-mesa-dri:i386 : Depends: libglapi-mesa:i386 (= 22.0.1-1ubuntu2) but it is not installable
                        Recommends: libgl1-amber-dri:i386 but it is not installable
                        Breaks: libgl1-mesa-dri (!= 22.0.1-1ubuntu2) but 22.0.1-1ubuntu2.1 is to be installed
 libgl1-mesa-glx:i386 : Depends: libglx-mesa0:i386 but it is not installable
 libglx0:i386 : Depends: libglx-mesa0:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

What have I tried:

Kkisak-valve maintainer 2022-07-03 github

Hello @InsOpDe, the key details here are:
Breaks: libgl1-mesa-dri:i386 (!= 22.0.1-1ubuntu2.1) but 22.0.1-1ubuntu2 is to be installed and
Breaks: libgl1-mesa-dri (!= 22.0.1-1ubuntu2) but 22.0.1-1ubuntu2.1 is to be installed, not the libgl1-amber-dri recommended package.

Ubuntu inherits Debian's multi-arch implementation which requires that all package variants have exactly the same version, and it also hates to downgrade packages to resolve dependencies. Something's not lining up between the 32 bit and 64 bit variants of mesa in your distro's repositories and your system. Can you share the output of apt policy libgl1-mesa-dri libgl1-mesa-dri:i386 libglx-mesa0 libglx-mesa0:i386?

IInsOpDe 2022-07-03 github

what a quick reply. this is the output.

but - i resolved it now with aptitude install steam- none the less im curious what you may find. you may as well close the issue :)

pt policy libgl1-mesa-dri libgl1-mesa-dri:i386 libglx-mesa0 libglx-mesa0:i386
libgl1-mesa-dri:
  Installed: 22.0.1-1ubuntu2.1
  Candidate: 22.0.1-1ubuntu2.1
  Version table:
 *** 22.0.1-1ubuntu2.1 1 (phased 60%)
        500 https://mirrors.tuxedocomputers.com/ubuntu/mirror/archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     22.0.1-1ubuntu2 500
        500 https://mirrors.tuxedocomputers.com/ubuntu/mirror/archive.ubuntu.com/ubuntu jammy/main amd64 Packages
libgl1-mesa-dri:i386:
  Installed: 22.0.1-1ubuntu2.1
  Candidate: 22.0.1-1ubuntu2.1
  Version table:
 *** 22.0.1-1ubuntu2.1 1 (phased 60%)
        500 https://mirrors.tuxedocomputers.com/ubuntu/mirror/archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
        100 /var/lib/dpkg/status
     22.0.1-1ubuntu2 500
        500 https://mirrors.tuxedocomputers.com/ubuntu/mirror/archive.ubuntu.com/ubuntu jammy/main i386 Packages
libglx-mesa0:
  Installed: 22.0.1-1ubuntu2.1
  Candidate: 22.0.1-1ubuntu2.1
  Version table:
 *** 22.0.1-1ubuntu2.1 1 (phased 60%)
        500 https://mirrors.tuxedocomputers.com/ubuntu/mirror/archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     22.0.1-1ubuntu2 500
        500 https://mirrors.tuxedocomputers.com/ubuntu/mirror/archive.ubuntu.com/ubuntu jammy/main amd64 Packages
libglx-mesa0:i386:
  Installed: 22.0.1-1ubuntu2.1
  Candidate: 22.0.1-1ubuntu2.1
  Version table:
 *** 22.0.1-1ubuntu2.1 1 (phased 60%)
        500 https://mirrors.tuxedocomputers.com/ubuntu/mirror/archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
        100 /var/lib/dpkg/status
     22.0.1-1ubuntu2 500
        500 https://mirrors.tuxedocomputers.com/ubuntu/mirror/archive.ubuntu.com/ubuntu jammy/main i386 Packages
Kkisak-valve maintainer 2022-07-03 github

If the package manager sanely transitioned to a workable state, then there's nothing left to ponder here.

Nothing extracted yet.