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

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
Fixed it! Finally, i run this command on terminal
sudo apt install libgl1-mesa-dri:i386 libgl1:i386
steam
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!
wow steam was only working a few days ago now showed this
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.
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
i will survive! (c) abba
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 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.
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.
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 :)
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.
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?
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:
- add your user to sudoers group
- create new user add it to sudoers and retry sudo commands
Those packages should be added to the dependency list of the Debian package.
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...
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'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?
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 :)
This worked for me
sudo apt install libgl1:i386
After long hours of trying
This worked for me
sudo apt install libgl1:i386After 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!