Error installing Steam - Package dependencies cannot be resolved

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
yeehawwww
Level 1
Level 1
Posts: 47
Joined: Fri Nov 11, 2022 12:35 pm

Error installing Steam - Package dependencies cannot be resolved

Post by yeehawwww »

I am getting an error trying to install Steam from the Software Manager on Linux Mint 21.

Code: Select all

Package dependencies cannot be resolved

This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.

Details:
The following packages have unmet dependencies:

libegl-mesa0:i386: Depends: libgbm1 (= 22.2.5-0ubuntu0.1~22.04.1) but 22.2.5-0ubuntu0.1~22.04.1 is to be installed
                   Depends: libglapi-mesa (= 22.2.5-0ubuntu0.1~22.04.1) but 22.2.5-0ubuntu0.1~22.04.1 is to be installed
                   Depends: libx11-xcb1 (>= 2:1.7.5) but 2:1.7.5-1 is to be installed
Why is this happening? My system is fully updated and I tried to refresh the list of packages to no avail.
Last edited by LockBot on Sun Jul 30, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
yeehawwww
Level 1
Level 1
Posts: 47
Joined: Fri Nov 11, 2022 12:35 pm

Re: Error installing Steam - Package dependencies cannot be resolved

Post by yeehawwww »

Tried installing the missing dependencies via apt since they don't show up in Software Manager but I get a bunch of stuff that I don't understand which looks like it could break my system

sudo apt install libgbm1

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libllvm13:i386 libvulkan1:i386 libwayland-client0:i386 libxcb-randr0:i386
  mesa-vulkan-drivers:i386
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libegl-mesa0 libgl1-mesa-dri:i386 libgl1-mesa-dri libglapi-mesa:i386
  libglapi-mesa libglx-mesa0 libglx-mesa0:i386 libllvm15 libllvm15:i386
Recommended packages:
  libgl1-amber-dri:i386 libgl1-amber-dri
The following NEW packages will be installed:
  libllvm15 libllvm15:i386
The following packages will be upgraded:
  libegl-mesa0 libgbm1 libgl1-mesa-dri:i386 libgl1-mesa-dri libglapi-mesa:i386
  libglapi-mesa libglx-mesa0 libglx-mesa0:i386
8 upgraded, 2 newly installed, 0 to remove and 19 not upgraded.
Need to get 70,3 MB of archives.
After this operation, 244 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
sudo apt install libglapi-mesa

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libllvm13:i386 libvulkan1:i386 libwayland-client0:i386 libxcb-randr0:i386
  mesa-vulkan-drivers:i386
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libegl-mesa0 libgbm1 libgl1-mesa-dri:i386 libgl1-mesa-dri libglapi-mesa:i386
  libglx-mesa0 libglx-mesa0:i386 libllvm15 libllvm15:i386
Recommended packages:
  libgl1-amber-dri:i386 libgl1-amber-dri
The following NEW packages will be installed:
  libllvm15 libllvm15:i386
The following packages will be upgraded:
  libegl-mesa0 libgbm1 libgl1-mesa-dri:i386 libgl1-mesa-dri libglapi-mesa:i386
  libglapi-mesa libglx-mesa0 libglx-mesa0:i386
8 upgraded, 2 newly installed, 0 to remove and 19 not upgraded.
Need to get 70,3 MB of archives.
After this operation, 244 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
sudo apt install libx11-xcb1

Code: Select all

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libx11-xcb1 is already the newest version (2:1.7.5-1).
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Pavel
Level 1
Level 1
Posts: 1
Joined: Sun Jan 29, 2023 11:09 am

Re: Error installing Steam - Package dependencies cannot be resolved

Post by Pavel »

I was able to reproduce one of the "Package dependencies cannot be resolved" issues today. It happens if you install the Ubuntu 12.04.2 x64 build and then search and install Steam from the Ubuntu Software Center. We are looking into this now.

Meanwhile, if you are experiencing this problem, try downloading the 32-bit package directly from http://media.steampowered.com/client/in ... /steam.deb It should open in Ubuntu Software Center and install fine.

Oddly, if you install the 12.04.1 x64 build, then update the system, you will end up with 12.04.2, but you won't have that problem.

Sorry we did not catch this earlier, but I think the 12.04.2 just came out yesterday so we did not test it.

Update: this should all be resolved with the latest packages propped this weekend.
1000
Level 6
Level 6
Posts: 1039
Joined: Wed Jul 29, 2020 2:14 am

Re: Error installing Steam - Package dependencies cannot be resolved

Post by 1000 »

Check if you have additional repository enabled.

Code: Select all

inxi -Fxxrzc0
I did notice the mesa updates in Synaptic manager

Code: Select all

alsa-ucm-conf (1.2.6.3-1ubuntu1.2) to 1.2.6.3-1ubuntu1.3
kbd (2.3.0-3ubuntu4) to 2.3.0-3ubuntu4.22.04
libdrm-amdgpu1 (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libdrm-amdgpu1:i386 (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libdrm-common (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libdrm-intel1 (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libdrm-intel1:i386 (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libdrm-nouveau2 (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libdrm-nouveau2:i386 (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libdrm-radeon1 (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libdrm-radeon1:i386 (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libdrm2 (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libdrm2:i386 (2.4.110-1ubuntu1) to 2.4.113-2~ubuntu0.22.04.1
libegl-mesa0 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
libegl-mesa0:i386 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
libgbm1 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
libgbm1:i386 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
libgl1-mesa-dri (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
libgl1-mesa-dri:i386 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
libglapi-mesa (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
libglapi-mesa:i386 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
libglx-mesa0 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
libglx-mesa0:i386 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
libxatracker2 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
mesa-va-drivers (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
mesa-va-drivers:i386 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
mesa-vdpau-drivers (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
mesa-vulkan-drivers (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
mesa-vulkan-drivers:i386 (22.0.5-0ubuntu0.3) to 22.2.5-0ubuntu0.1~22.04.1
python3-future (0.18.2-5) to 0.18.2-5ubuntu0.1
But the update went smoothly
mintinator14
Level 1
Level 1
Posts: 40
Joined: Wed Jan 04, 2023 3:02 pm
Location: Lincolnshire..UK.

Re: Error installing Steam - Package dependencies cannot be resolved

Post by mintinator14 »

I downloaded the debian file from the steam website and steam works flawlessly here..I think the software manager version comes in 2 flavours..flathub and system package.
Dell Latitude 64 bit with Intel© Core™ i5-6300U CPU @ 2.40GHz × 2.
Linux mint 21.
User avatar
MiZoG
Level 8
Level 8
Posts: 2356
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: Error installing Steam - Package dependencies cannot be resolved

Post by MiZoG »

What Mintinator14 did: use the deb installer from store.steampowered.com
NeoTrantor
Level 1
Level 1
Posts: 4
Joined: Fri Jul 31, 2020 6:13 am

Re: Error installing Steam - Package dependencies cannot be resolved

Post by NeoTrantor »

Just did a fresh install of Mint 21.1 yesterday. All packages up to date.
No matter if using the steam-installer or steam-launcher packages or the deb file from the steam website - when trying to install the dependencies (like libgl1-mesa-dri:i386 libgl1-mesa-glx:i386) apt wants to remove a lot of packages i'd rather like to keep :wink: :

Code: Select all

The following packages were automatically installed and are no longer required:
 cabextract imagemagick-6-common libavcodec-extra libdca0 libde265-0 libfaad2 libfftw3-double3 libfluidsynth3 libfreeaptx0 libgssdp-1.2-0 libgstreamer-plugins-bad1.0-0 libgupnp-1.2-1 libgupnp-igd-1.0-4
  libheif1 libilmbase25 libinstpatch-1.0-2 libjxr-tools libjxr0 libkate1 libldacbt-enc2 liblqr-1-0 libltc11 libmagickcore-6.q16-6 libmagickcore-6.q16-6-extra libmagickwand-6.q16-6 libmjpegutils-2.1-0
  libmodplug1 libmpcdec6 libmpeg2encpp-2.1-0 libmplex2-2.1-0 libmspack0 libnice10 libnvidia-cfg1-530 libnvidia-common-530 libnvidia-compute-530:i386 libnvidia-decode-530 libnvidia-decode-530:i386
  libnvidia-encode-530 libnvidia-encode-530:i386 libnvidia-extra-530 libnvidia-gl-530:i386 libopenexr25 libopenh264-6 libopenni2-0 libqrencode4 libsoundtouch1 libspandsp2 libsrtp2-1 libunshield0 libvo-aacenc0
  libwildmidi2 libwxbase3.0-0v5 libxnvctrl0 libzbar0 libzxingcore1 nvidia-compute-utils-530 nvidia-dkms-530 nvidia-kernel-common-530 nvidia-kernel-source-530 nvidia-prime nvidia-settings nvidia-utils-530
  screen-resolution-extra timgm6mb-soundfont unrar unshield
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libatomic1:i386 libdrm-amdgpu1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386 libffi8:i386 libgl1:i386 libglapi-mesa:i386 libglvnd0:i386
  libglx-mesa0:i386 libglx0:i386 libicu70:i386 libllvm15:i386 liblzma5:i386 libsensors5:i386 libstdc++6:i386 libtinfo6:i386 libx11-xcb1:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386
  libxcb-present0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxfixes3:i386 libxml2:i386 libxshmfence1:i386 libxxf86vm1:i386 libzstd1:i386 zlib1g:i386
...
The following packages will be REMOVED:
  caribou celluloid cinnamon cinnamon-common cinnamon-control-center cinnamon-control-center-dbg cinnamon-dbg cinnamon-session default-jre evolution-data-server gir1.2-clutter-1.0 gir1.2-clutter-gst-3.0
  gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gtkclutter-1.0 gir1.2-meta-muffin-0.0 gir1.2-rb-3.0 gir1.2-webkit2-4.0 gir1.2-xreader gnome-calendar gnome-online-accounts
  gstreamer1.0-clutter-3.0 gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-plugins-bad gstreamer1.0-vaapi gufw hypnotix libavdevice58 libchamplain-0.12-0 libchamplain-gtk-0.12-0 libclutter-1.0-0
  libclutter-gst-3.0-0 libclutter-gtk-1.0-0 libcogl-pango20 libcogl-path20 libcogl20 libedataserverui-1.2-3 libegl-mesa0 libegl1 libgl1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 libglx0 libgoa-backend-1.0-1
  libgstreamer-gl1.0-0 libmpv1 libmuffin0 libnvidia-fbc1-530 libnvidia-gl-530 libqt5gui5 libqt5svg5 libqt5widgets5 libreoffice-sdbc-hsqldb libvisual-0.4-plugins libwebkit2gtk-4.0-37 libwxgtk3.0-gtk3-0v5
  libxreaderview3 libyelp0 mesa-utils mesa-utils-bin metacity mint-meta-cinnamon mint-meta-codecs mint-meta-core mintdrivers mintsystem muffin muffin-dbg nemo-preview nvidia-driver-530 nvidia-prime-applet
  openjdk-11-jre qt5-gtk-platformtheme qt5-gtk2-platformtheme qt5-style-plugin-cleanlooks qt5-style-plugin-motif qt5-style-plugin-plastique qt5-style-plugins qt5ct rhythmbox-plugins steam-launcher thingy
  ubuntu-system-adjustments veracrypt x11-utils xorg xreader xreader-dbg xserver-xephyr xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-libinput xserver-xorg-input-wacom
  xserver-xorg-video-all xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau xserver-xorg-video-nvidia-530 xserver-xorg-video-qxl
  xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware xviewer-plugins xwayland yelp zenity
The following NEW packages will be installed:
libatomic1:i386 libdrm-amdgpu1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386 libffi8:i386 libgl1:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
  libglapi-mesa:i386 libglvnd0:i386 libglx-mesa0:i386 libglx0:i386 libicu70:i386 libllvm15:i386 liblzma5:i386 libsensors5:i386 libstdc++6:i386 libtinfo6:i386 libx11-xcb1:i386 libxcb-dri2-0:i386
  libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-shm0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxfixes3:i386 libxml2:i386 libxshmfence1:i386 libxxf86vm1:i386 libzstd1:i386 zlib1g:i386
bloodyking
Level 1
Level 1
Posts: 19
Joined: Wed May 17, 2023 6:10 am

Re: Error installing Steam - Package dependencies cannot be resolved

Post by bloodyking »

try with

Code: Select all

echo deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] http://repo.steampowered.com/steam/ stable steam | sudo tee /etc/apt/sources.list.d/steam.list

Code: Select all

sudo apt update
Locked

Return to “Gaming”