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

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

Open lloootsop opened this issue 6 years ago • 40 comments

error0 error1

System Information

Linux 5.3.0-18-generic #19-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux

  • Distribution: Lubuntu 19.10

Hello, im trying to install the steam on my computer but i have this errors:

Installing breakpad exception handler for appid(steam)/version(1.0)
[2020-07-23 10:54:39] Installing update...
[2020-07-23 10:54:42] Cleaning up...
[2020-07-23 10:54:42] Update complete, launching...
[2020-07-23 10:54:42] Shutdown
CWorkThreadPool::~CWorkThreadPool: work processing queue not empty: 3 items discarded.
Restarting Steam by request...
Package xterm needs to be installed
Package libgl1-mesa-dri:i386 needs to be installed
Package libgl1:i386 needs to be installed
Package libc6:i386 needs to be installed
x-terminal-emulator: invalid option -- 'T'
QTerminal 0.14.1
Usage: qterminal [OPTION]...

  -d,  --drop               Start in "dropdown mode" (like Yakuake or Tilda)
  -e,  --execute <command>  Execute command instead of shell
  -h,  --help               Print this help
  -p,  --profile            Load qterminal with specific options
  -v,  --version            Prints application version and exits
  -w,  --workdir <dir>      Start session with specified work directory

Homepage: <https://github.com/lxqt/qterminal>
Report bugs to <https://github.com/lxqt/qterminal/issues>
Running Steam on ubuntu 19.10 64-bit
STEAM_RUNTIME has been set by the user to: /home/tanjil/.local/share/Steam/ubuntu12_32/steam-runtime
Found newer runtime version for 64-bit libdbusmenu-glib.so.4. Host: 4.0.12 Runtime: 4.0.13
Found newer runtime version for 64-bit libGLU.so.1. Host: 1.3.1 Runtime: 1.3.8004
Found newer runtime version for 64-bit libvulkan.so.1. Host: 1.1.114 Runtime: 1.2.135
Forced use of runtime version for 64-bit libcurl.so.4. Host: 4.5.0 Runtime: 4.2.0
Error: You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
libdrm.so.2

I installed the steam with wget http://media.steampowered.com/client/installer/steam.deb sudo apt-get install gdebi-core sudo gdebi steam.deb

And i have the error saying "Error: You are missing the following 32-bit libraries, and Steam may not run: libGL.so.1 libdrm.so.2" and also i install the official steam site and gives the same error. Before of this error, i got an error which i was missing libc.so.6 so i used the command sudo apt-get install libc6-i386 and now i am the situation of "Error: You are missing the following 32-bit libraries, and Steam may not run: libGL.so.1 libdrm.so.2" and how can i fix it? I want to install steam on my computer, and im on Lubuntu

lloootsop avatar Jul 23 '20 10:07 lloootsop

Fixed it! Finally, i run this command on terminal sudo apt install libgl1-mesa-dri:i386 libgl1:i386 steam

lloootsop avatar Jul 23 '20 10:07 lloootsop

Make sure you do sudo dpkg --add-architecture i386 and after sudo apt update and then install with sudo apt-get install --reinstall libgl1-mesa-glx:i386 it worked for me!

lloootsop avatar Aug 09 '20 19:08 lloootsop

wow steam was only working a few days ago now showed this

MasterCATZ avatar Feb 02 '21 11:02 MasterCATZ

Hello @asimmakhmudov, a massive removal of system packages is definitely bad and you shouldn't let apt proceed. Blind guess that you're seeing something similar to #7982.

kisak-valve avatar Aug 13 '21 22:08 kisak-valve

Hello @asimmakhmudov, a massive removal of system packages is definitely bad and you shouldn't let apt proceed. Blind guess that you're seeing something similar to #7982.

and do not forget to mention that doitn so will get your laptop a brick!

to restore laptop, press

alt+f2 (tty2), login and set all again

sudo apt update sudo apt upgrade sudp apt-get install gnome

default-writer avatar Aug 14 '21 10:08 default-writer

i will survive! (c) abba

default-writer avatar Aug 14 '21 10:08 default-writer

This work for me:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt install libgl1-mesa-dri:i386 libgl1:i386
sudo apt-get upgrade steam -f
sudo apt install nvidia-driver-libs:i386

jaredchu avatar Aug 26 '21 07:08 jaredchu

This work for me:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt install libgl1-mesa-dri:i386 libgl1:i386
sudo apt-get upgrade steam -f
sudo apt install nvidia-driver-libs:i386

This worked for me as well. Nice.

anovin-projects avatar Oct 12 '21 18:10 anovin-projects

This work for me:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt install libgl1-mesa-dri:i386 libgl1:i386
sudo apt-get upgrade steam -f
sudo apt install nvidia-driver-libs:i386

Thank you bro this worked for me.

oong26 avatar Nov 01 '21 06:11 oong26

This work for me:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt install libgl1-mesa-dri:i386 libgl1:i386
sudo apt-get upgrade steam -f
sudo apt install nvidia-driver-libs:i386

Thanks :)

Derber2004 avatar Nov 06 '21 13:11 Derber2004

Coming from google with this problem, my issue running the above solution was that I had a custom ppa for llvm that added some specific version llvm13. At the same time I had the oibaf graphics driver repo which also had a specific version of llvm13 that all my drivers relied on.

So doing the above freaks apt out and tells me it wants to remove almost everything graphics related on my system.

My solution was to downgrade llvm13 to the one from the oibaf graphics driver repo like this

caps@pc:~/Downloads$ apt list -a libllvm13
Listing... Done

libllvm13/unknown,now 1:13.0.1~++20211215022811+5932c004778c-1~exp1~20211215022819.27 amd64 [installed]
libllvm13/focal 1:13.0.0-8~oibaf~f amd64
libllvm13/focal 1:13.0.0-8~oibaf~f i386

ccaps@pc:~/Downloads$ sudo apt install libllvm13/focal

where libllvm13/focal was the one I needed.

CapsAdmin avatar Dec 15 '21 23:12 CapsAdmin

This work for me:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt install libgl1-mesa-dri:i386 libgl1:i386
sudo apt-get upgrade steam -f
sudo apt install nvidia-driver-libs:i386

It didn;t work for me, saying permission was denied at the first step, how do I bypass that?

theoarthur avatar Jan 31 '22 04:01 theoarthur

in general permission denied cured with something like that:

sudo chown +R <user>:<group> <path_to_cure

but as i understand, it sounds like you are trying to execute these commands from root and literally you do not need to use sudo.

i believe in that cause dpkg is just a debian package manager and if such an issue would ever happened, it will be fixed decades ago. so logically, this is not a security issues, but rather the configuration issue for you system.

brief description, that you do not have rights to use sudo, either you are the root, or not in the sudoers group,

solution:

  1. add your user to sudoers group
  2. create new user add it to sudoers and retry sudo commands

default-writer avatar Jan 31 '22 08:01 default-writer

Those packages should be added to the dependency list of the Debian package.

braiam avatar Jun 09 '22 20:06 braiam

sudo dpkg --add-architecture i386 sudo apt-get update sudo apt install libgl1-mesa-dri:i386 libgl1:i386 sudo apt-get upgrade steam -f sudo apt install nvidia-driver-libs:i386

Works Fine... :) Thanks...

Osyed02 avatar Jul 02 '22 10:07 Osyed02

I've got intel integrated graphics, running Ubuntu Studio 22.04, which runs KDE Plasma. I'm having a similar situation. When I sudo apt upgrade steam -f I get a huge out put of lots of applications that depend on libudev1, but it is not installable. When I search for the package, it is already installed.

fonikz avatar Jul 05 '22 23:07 fonikz

I've got intel integrated graphics, running Ubuntu Studio 22.04, which runs KDE Plasma. I'm having a similar situation. When I sudo apt upgrade steam -f I get a huge out put of lots of applications that depend on libudev1, but it is not installable. When I search for the package, it is already installed.

i think you should try to install not just from sudoers trough user profile with a lot of restrictions, but from the root profile, is it solves the problem?

default-work avatar Aug 03 '22 13:08 default-work

This work for me:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt install libgl1-mesa-dri:i386 libgl1:i386
sudo apt-get upgrade steam -f
sudo apt install nvidia-driver-libs:i386

thank you so mush its works for me :)

BennaceurYoussef avatar Aug 27 '22 16:08 BennaceurYoussef

This worked for me

sudo apt install libgl1:i386

After long hours of trying

olivier1208 avatar Aug 31 '22 15:08 olivier1208

This worked for me

sudo apt install libgl1:i386

After long hours of trying

thanks all, your efforts are meaningful cause i did the same many times, and your comments realy saves one's day, for sure!

default-writer avatar Sep 02 '22 04:09 default-writer