steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Steam wants to install libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, remove libgl1-mesa-dri-lts-raring:i386, libgl1-mesa-glx-lts-raring:i386 and other packages

Open johan666 opened this issue 13 years ago • 73 comments

I upgraded my Ubuntu installation from 12.04.2 to 12.04.3. In this process I switched from the quantal kernel and X server to the raring kernel and X server.

Now when I start Steam, it wants to install the old packages libgl1-mesa-dri:i386, libgl1-mesa-glx:i386. This is really bad, because it will remove a lot of raring packages.

The apt-get log:

Steam needs to install these additional packages: 
    libgl1-mesa-dri:i386, libgl1-mesa-glx:i386
[sudo] password for johan: 
.................................................................................................................................................................................................................................................................................................................................
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libxrandr-ltsq2 libwayland0 libxcb-xfixes0 libllvm3.1:i386
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libgl1-mesa-glx libglapi-mesa libglapi-mesa:i386
Suggested packages:
  libglide3:i386
The following packages will be REMOVED
  libgl1-mesa-dri-lts-raring libgl1-mesa-dri-lts-raring:i386
  libgl1-mesa-glx-lts-raring libgl1-mesa-glx-lts-raring:i386
  libglapi-mesa-lts-raring libglapi-mesa-lts-raring:i386
  libxatracker1-lts-raring ubuntu-desktop xorg xserver-xorg-lts-raring
  xserver-xorg-video-all-lts-raring xserver-xorg-video-vmware-lts-raring
The following NEW packages will be installed
  libgl1-mesa-dri:i386 libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa
  libglapi-mesa:i386
0 upgraded, 5 newly installed, 12 to remove and 0 not upgraded.
Need to get 3320 kB of archives.
After this operation, 13,6 MB disk space will be freed.
Do you want to continue [Y/n]?

When I cancel this operation, Steam starts normally and I can play games.

johan666 avatar Aug 25 '13 13:08 johan666

To be fair, you are mis-matching the packaging and steam is doing the correct / expected behavior.

Tele42 avatar Aug 25 '13 22:08 Tele42

I don't understand what you mean by "you are mis-matching the packaging". The packages that are installed and apt-get wants to remove are the standard packages that are installed in Ubuntu 12.04.3.

When I start Steam it runs the apt-get command in a new terminal window, so it's not me who is mis-matching any packages. It's Steam that thinks some essential packages are not installed. But Steam is wrong: libgl1-mesa-dri-lts-raring is a newer version of libgl1-mesa-dri. So it should not need to install it. It should recognise the newer versions just as it did with libgl1-mesa-dri-lts-quantal.

johan666 avatar Aug 25 '13 23:08 johan666

I can reproduce this error on a fresh Ubuntu 12.04.3 installation.

Steps on how to do this:

  1. Install Ubuntu 12.04.3 (AMD64 version)
  2. Install updates and the package ia32-libs-multiarch:i386 for multiarch support
  3. Download http://media.steampowered.com/client/installer/steam.deb and install with the Software Center
  4. Start Steam

Steam will open a new terminal window, showing this:

Steam needs to install these additional packages: 
    libgl1-mesa-dri:i386, libgl1-mesa-glx:i386
[sudo] password for johan: 
..........................................................................................................
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  x11-apps x11-session-utils x11-xfs-utils dkms xinit libfs6
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libdrm-nouveau1a:i386 libgl1-mesa-glx libglapi-mesa libglapi-mesa:i386 libllvm3.0:i386 xserver-xorg-core xserver-xorg-input-evdev
Suggested packages:
  libglide3:i386 xfonts-100dpi xfonts-75dpi
The following packages will be REMOVED:
  libgl1-mesa-dri-lts-raring libgl1-mesa-dri-lts-raring:i386 libgl1-mesa-glx-lts-raring libgl1-mesa-glx-lts-raring:i386 libglapi-mesa-lts-raring
  libglapi-mesa-lts-raring:i386 libxatracker1-lts-raring ubuntu-desktop x11-xserver-utils-lts-raring xorg xserver-common-lts-raring
  xserver-xorg-core-lts-raring xserver-xorg-input-all-lts-raring xserver-xorg-input-evdev-lts-raring xserver-xorg-input-mouse-lts-raring
  xserver-xorg-input-synaptics-lts-raring xserver-xorg-input-vmmouse-lts-raring xserver-xorg-input-wacom-lts-raring xserver-xorg-lts-raring
  xserver-xorg-video-all-lts-raring xserver-xorg-video-ati-lts-raring xserver-xorg-video-cirrus-lts-raring xserver-xorg-video-fbdev-lts-raring
  xserver-xorg-video-intel-lts-raring xserver-xorg-video-mach64-lts-raring xserver-xorg-video-mga-lts-raring xserver-xorg-video-modesetting-lts-raring
  xserver-xorg-video-neomagic-lts-raring xserver-xorg-video-nouveau-lts-raring xserver-xorg-video-openchrome-lts-raring
  xserver-xorg-video-r128-lts-raring xserver-xorg-video-radeon-lts-raring xserver-xorg-video-s3-lts-raring xserver-xorg-video-savage-lts-raring
  xserver-xorg-video-siliconmotion-lts-raring xserver-xorg-video-sis-lts-raring xserver-xorg-video-sisusb-lts-raring
  xserver-xorg-video-tdfx-lts-raring xserver-xorg-video-trident-lts-raring xserver-xorg-video-vesa-lts-raring xserver-xorg-video-vmware-lts-raring
The following NEW packages will be installed:
  libdrm-nouveau1a:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa libglapi-mesa:i386 libllvm3.0:i386 xserver-xorg-core
  xserver-xorg-input-evdev
0 upgraded, 9 newly installed, 41 to remove and 0 not upgraded.
Need to get 12.5 MB of archives.
After this operation, 1,627 kB disk space will be freed.
Do you want to continue [Y/n]? 

johan666 avatar Aug 26 '13 00:08 johan666

I have a clean installation of Ubuntu 12.04.4 LTS (32 bit & 64 bit)

When I installed steam:

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-glx:i386 : Depends: libglapi-mesa:i386 (= 8.0.4-0ubuntu0.6) E: Unable to correct problems, you have held broken packages.

csMKJP avatar Aug 26 '13 05:08 csMKJP

Confirmed. I can not install steam on ubuntu 12.04.3

adasiko avatar Aug 26 '13 12:08 adasiko

I confirm steam is not working anymore on 12.04.3. Same error as reported here

jason69 avatar Aug 28 '13 18:08 jason69

Confirmed. I have same issue on Ubuntu 12.04.3 and raring mesa.

unreturned avatar Aug 28 '13 19:08 unreturned

The newest .deb package (version 1.0.0.40) and Steam update seem to have fixed this.

johan666 avatar Aug 29 '13 06:08 johan666

I just tried the latest 1.0.0.40 but it is still not working for me. Steam is still complaining about missing libgl1-mesa-dri:i386 and libgl1-mesa-glx:i386

Anyone succeeded with 1.0.0.40 ?

jason69 avatar Aug 29 '13 17:08 jason69

Just pushed out an update to the steam package last night, we got a bit blindsided by 12.04.3. Hopefully the fix I made will address this permanently and not break when 12.04.4 comes out.

johnv-valve avatar Aug 29 '13 17:08 johnv-valve

Is the fix included in 1.0.0.40? because it is not working for me... :-(

jason69 avatar Aug 29 '13 17:08 jason69

I have a clean installation of Ubuntu 12.04.4 LTS 64 bit

1.0.0.40 not working for me

When I installed steam:

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-glx:i386 : Depends: libglapi-mesa:i386 (= 8.0.4-0ubuntu0.6) E: Unable to correct problems, you have held broken packages.

PS: However, works Debian Steam packages for jessie and sid. Installed in ubuntu

csMKJP avatar Aug 29 '13 18:08 csMKJP

This issue should NOT be closed. I have a fresh install of Ubuntu 12.04.3 64 bit. with this exact problem.

Steam needs to install these additional packages: libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386 [sudo] password for (********): .................................................................................................................. 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-glx:i386 : Depends: libglapi-mesa:i386 (= 8.0.4-0ubuntu0.6) E: Unable to correct problems, you have held broken packages.

I don't know what update you pushed, but it did not work.

dunca123 avatar Aug 29 '13 19:08 dunca123

Found a solution. Open your terminal, ctr alt t and run this command

sudo apt-get install ia32-libs

sudo apt-get update

dunca123 avatar Aug 29 '13 23:08 dunca123

Indeed, with ia32-libs and steam 1.0.0.40 it is working back on 12.04.3. Thanks for your help.

I suggest that steam package installs ia32-libs as a dependency. There is no reason the user has to do it manually, am I wrong?

jason69 avatar Aug 30 '13 23:08 jason69

I think think is should be included in the steam download from the Ubuntu software center. So yes. I completely agree with you. They are going to be getting some heated reviews if they do nothing about this issue.

Sent from Samsung Mobile

jason69 [email protected] wrote:

Indeed, with ia32-libs and steam 1.0.0.40 it is working back on 12.04.3. Thanks for your help.

I suggest that steam package installs ia32-libs as a dependency. There is no reason the user has to do it manually, am I wrong?

— Reply to this email directly or view it on GitHub.

dunca123 avatar Aug 30 '13 23:08 dunca123

Steam is not required: ia32-libs! (SteamCMD need this package.)

Steam needs, required: libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386.

I think the staem uses this command (also you can try): sudo apt-get install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libc6:i386 but I get an error.

But you can install individually and all will be fine. (The sequence is important). sudo apt-get install libgl1-mesa-dri:i386 sudo apt-get install libgl1-mesa-glx:i386 sudo apt-get install libc6:i386

Steam installer have ERROR

csMKJP avatar Aug 31 '13 04:08 csMKJP

This is part of why I switched to an RPM based distro: Packages that that have feature/capability dependencies rather than arbitrary package names. http://www.rpm.org/max-rpm/s1-rpm-depend-auto-depend.html

chinoto avatar Aug 31 '13 05:08 chinoto

This is a huge problem with steam installer for anyone downloading and installing installing Ubuntu 64bit (12.4.3). It removes some meta-packages (not a big issue because they are empty dependency resolvers) but also, replaces some crucial libs as alternatives. After following @csMKJP suggestions the packages were installed correctly but because of removal of the meta-packages, the system suggest that the graphic libraries are not required and should be removed with "sudo apt-get autoremove". Which, if done by the user they will get blackscreen after reboot


@lap:~$ sudo apt-get install libc6:i386 Reading package lists... Done Building dependency tree
Reading state information... Done libc6:i386 is already the newest version. libc6:i386 set to manually installed. The following packages were automatically installed and are no longer required: x11-apps xserver-common-lts-raring xserver-xorg-input-all-lts-raring xfonts-scalable xserver-xorg-video-modesetting-lts-raring xserver-xorg-video-ati-lts-raring libdrm-nouveau2 libxcb-dri2-0 xserver-xorg-video-r128-lts-raring xserver-xorg-video-nouveau-lts-raring xserver-xorg-input-mouse-lts-raring x11-xserver-utils-lts-raring xserver-xorg-input-evdev-lts-raring xserver-common xserver-xorg-video-cirrus-lts-raring xserver-xorg-input-synaptics-lts-raring xserver-xorg-video-mach64-lts-raring x11-session-utils xserver-xorg-video-s3-lts-raring xserver-xorg-video-vesa-lts-raring xserver-xorg-video-tdfx-lts-raring libmtdev1 xserver-xorg-video-sisusb-lts-raring xserver-xorg-video-radeon-lts-raring xserver-xorg-video-trident-lts-raring xfonts-base x11-xfs-utils xserver-xorg-input-wacom-lts-raring libxrandr-ltsr2 xserver-xorg-video-mga-lts-raring xinit libfs6 xserver-xorg-video-fbdev-lts-raring xserver-xorg-core-lts-raring xserver-xorg-input-vmmouse-lts-raring libxvmc1 xserver-xorg-video-neomagic-lts-raring xserver-xorg-video-openchrome-lts-raring xserver-xorg-video-sis-lts-raring xserver-xorg-video-savage-lts-raring xserver-xorg-video-intel-lts-raring xserver-xorg-video-siliconmotion-lts-raring libllvm3.2 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

cerebrux avatar Aug 31 '13 14:08 cerebrux

I kept the raring kernel (3.2.9) but downgraded the xserver from xserver-xorg-lts-raring to xeserver-xorg (with no -raring) and the steam was installed correctly.

cerebrux avatar Aug 31 '13 21:08 cerebrux