0

Whenever I open Steam, it shows me this :

Steam needs to install these additional packages:
libgl1-mesa-dri:i386, libgl1-mesa-glx:i386, libc6:i386

However, after I press Return, it shows me this :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libc6:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  initscripts libc6 tzdata

Package libgl1-mesa-glx:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libgl1-mesa-dri:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libgl1-mesa-dri

N: Ignoring file 'playonlinux.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'steam.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'webupd8team-ubuntu-java-xenial.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'otto-kesselgulasch-ubuntu-gimp-xenial.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'patches.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'nathan-renniewaldock-ubuntu-flux-xenial.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'mc3man-ubuntu-trusty-media-xenial.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'google-chrome.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'versable-ubuntu-elementary-update-xenial.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'elementary.list.disable' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Package 'libgl1-mesa-dri:i386' has no installation candidate
E: Package 'libgl1-mesa-glx:i386' has no installation candidate
E: Package 'libc6:i386' has no installation candidate
Press return to continue: 

after which an error stating "You are missing the following 32-bit libraries, and Steam may not run: libc.so.6" pops up.

I cannot find anyway to install these libs. Does anyone know how?

Thanks in advance.

1

One of these should do the trick. Test if it opens after each one and report back?

  1. sudo apt install steam
  2. sudo apt install libgl1-mesa-glx-lts-utopic:i386
  3. sudo apt-get install --reinstall libgl1-mesa-dri:i386
  4. sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/libGL.so.1

  5. sudo apt update && sudo apt upgrade
    sudo nano /etc/ld.so.conf.d/steam.conf
    opens a text editor, so insert these lines:
    /usr/lib32
    /usr/lib/i386-linux-gnu/mesa
    (save with ctrl+o and exit with ctrl+x)
    sudo ldconfig

(If 4/5/6 doesn't work by itself, cycle back through 1–3 again)

  • @wold The first line to install Steam returned this for me. – Sanctimony Oct 19 '16 at 15:22
  • Unfortunately none of those worked :(. First line returned an error saying there are some unmet dependencies, whereas the other 2 lines had no installation candidate. – Sanctimony Oct 19 '16 at 15:25
  • @Sanctimony: I just added 4 & 5. Try those and see if it works. Then try 1–3 again – wolf Oct 19 '16 at 15:34
  • Nope, didnt work :(. If it helps, I already had those two lines present in the text editor. – Sanctimony Oct 20 '16 at 4:04
  • @Sanctimony, are you getting the same errors? Any new information? Was there anything else in the forum post I linked in the answer? – wolf Oct 20 '16 at 4:15
1

I'm not sure if this is a fix, as I am a newb to linux, but I am also having issues installing steam. I got the same error, and I was able to resolve it by using the following command in terminal:

sudo apt-get -f install

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.