I'm getting the following errors:

Package libgl1-mesa-dri:i386 needs to be installed

Package libgl1-mesa-glx:i386 needs to be installed

Package libc6:i386 needs to be installed

You are missing the following 32-bit libraries, and Steam may not run: libGL.so.1

  • 1
    can you add more details? how you tried to install steam? – Ravan Jan 10 '16 at 2:46

The workaround is

Open terminal and run:

sudo apt-get install libc6:i386 libgl1-mesa-dri-lts-vivid:i386 libgl1-mesa-glx-lts-vivid:i386

Now run:

sudo apt-get update
sudo apt-get install steam


First you need to configure a new foreign architecture to install steam.

Open terminal and run:

sudo dpkg --add-architecture i386
sudo apt-get update

Now, sudo dpkg --print-foreign-architectures #now this should return i386

Now continue above steps exactly.


Make sure trusty-updates is enabled in Software & Updates


  • It says: "Package libgl1-mesa-dri-lts-vivid:i386 is not available, but is referred to by another package. (...) However the following packages replace it: libgl1-mesa-glx-lts-vivid"; "Package libgl1-mesa-glx-lts-vivid: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"; E: Package 'libgl1-mesa-dri-lts-vivid:i386' has no installation candidate; E: Package 'libgl1-mesa-glx-lts-vivid:i386' has no installation candidate – mykahveli Jan 10 '16 at 13:10
  • I did sudo dpkg --add-architecture i386 and now I'm having: Unable to locate packages: libgl1-mesa-dri-lts-trusty and libgl1-mesa-glx-lts-trusty. – mykahveli Jan 10 '16 at 14:10
  • why you changed to trusty? run the exact commands. what is output of uname -r. btw how you tried to install steam? by using the terminal command? – Ravan Jan 10 '16 at 14:51
  • Sorry, I mixed trusty and vivid. The workaround gives this. sudo dpkg --print-foreign-architectures returns i386. I installed by sudo apt-get install steam. Funny thing: trusty-updates unticks by itself after entering password! – mykahveli Jan 10 '16 at 15:52
  • Please add output of apt-cache policy libglapi-mesa-lts-vivid:i386 libqt5gui5 libcgmanager0 libudev1 libgl1 libgl-mesa-glx to pastebin.ubuntu.com . Also run sudo apt-get install -f and add output if you have any errors. – Ravan Jan 12 '16 at 2:34

Download and install the latest drivers from NVIDIA. During the NVIDIA driver installation it asks if you want to install the 32bit libraries. Select yes.

  • My graphics is: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b). It would work? – mykahveli Jan 10 '16 at 14:07

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.