-1

I am trying to use sudo apt install steam for my install, but I get the following output:

Reading package lists... Done
Building dependency tree... Done
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 (!= 22.2.5-0ubuntu0.1~22.04.1) but 22.0.1-1ubuntu2 is to be installed libgl1-mesa-dri:i386 : Depends: libdrm-nouveau2:i386 (>= 2.4.66) but it is not going to be installed Depends: libdrm-radeon1:i386 (>= 2.4.31) but it is not going to be installed Depends: libglapi-mesa:i386 (= 22.0.1-1ubuntu2) but 22.2.5-0ubuntu0.1~22.04.1 is to be installed Recommends: libgl1-amber-dri:i386 but it is not installable Breaks: libgl1-mesa-dri (!= 22.0.1-1ubuntu2) but 22.2.5-0ubuntu0.1~22.04.1 is to be installed libglx-mesa0 : Breaks: libglx-mesa0:i386 (!= 22.2.5-0ubuntu0.1~22.04.1) but 22.0.1-1ubuntu2 is to be installed libglx-mesa0:i386 : Depends: libglapi-mesa:i386 (= 22.0.1-1ubuntu2) but 22.2.5-0ubuntu0.1~22.04.1 is to be installed Breaks: libglx-mesa0 (!= 22.0.1-1ubuntu2) but 22.2.5-0ubuntu0.1~22.04.1 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I have tried sudo apt install steam --fix-broken and I get the same output. Any help will be greatly appreciated and I'll try to remain on top of this post so if any clarification is needed I'll do my best to provide it.

Output of apt policy libgl1-mesa-dri:

libgl1-mesa-dri:
  Installed: 22.2.5-0ubuntu0.1~22.04.1
  Candidate: 22.2.5-0ubuntu0.1~22.04.1
  Version table:
 *** 22.2.5-0ubuntu0.1~22.04.1 100
        100 /var/lib/dpkg/status
     22.0.1-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
Lemma
  • 7

1 Answers1

0

Solution found! I simply performed sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu jammy-updates main universe restricted multiverse" then sudo apt update then finally sudo apt install steam. Thanks to @OrganicMarble and @DanielT

Lemma
  • 7