ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

Ao tentar baixar o software da Steam ele dá a seguinte menssagem: You are missing the following 32-bit libraries, and Steam may not run: libGL.so.1 libdrm.so.2 #10510

Open SuellenMiranda opened 9 months ago

SuellenMiranda commented 9 months ago

image

image

Sobre o sistema

Problema

Estava instalando o steam_latest.deb e ao "terminar" ele aparentemente da certo, ele mostra que algumas dependências precisam ser instalados e termina, tento rodas a steam e da as imagens acima após apertar enter quando pede.

Já tentei

  1. sudo apt install libgl1-mesa-dri:i386 libgl1:i386
  2. sudo apt-get upgrade steam -f
  3. sudo dpkg -i libGL.so.1 e ... libdrm.so.2 {dá erro de de expressão.

O que eu posso fazer para solucionar e eu conseguir terminar de baixar Steam no meu Linux Debian?

kisak-valve commented 9 months ago

Hello @SuellenMiranda, Steam needs the host system to provide 32 bit and 64 bit OpenGL drivers. You're indirectly showing that you have a distro packaging issue of some kind.

Can you share the output of apt policy libgl1 libgl1:i386 libdrm2 libdrm2:i386? Also, is there an error if you try to run sudo apt install libgl1-mesa-dri libgl1-mesa-dri:i386? If so, please share that as well. The second command should ask apt to install both the 32 bit and 64 bit variant of mesa at the same time.

SuellenMiranda commented 9 months ago

Hi @kisak-valve the first command:

image

the second command:

image

sorry, my computer is in Portuguese I hope you can translate :')

kisak-valve commented 9 months ago

Thanks, that points fairly directly to an issue with libc6. Let's look at what apt policy libc6 libc6:i386 tells us followed by sudo apt install libc6 libc6:i386. Debian's multiarch implementation requires that all arch variants of a package have exactly the same version, and it also does not like to downgrade packages to resolve dependency conflicts.

SuellenMiranda commented 9 months ago

Ok, sorry for taking so long, I ended up busy, here are the commands in order (the first and the second in a row):

apt policy libc6 libc6:i386 image

sudo apt install libc6 libc6:i386 image

Well, I understand little but basically I always say that there is a broken part and that there were (hold) broken packages. I've already cleaned files and stuff like that and besides not cleaning it, it didn't help or worsen the reinstallations I tried.

kisak-valve commented 9 months ago

Looking at https://packages.debian.org/bullseye/libc6, the 2.31-13+deb11u8 package should be available for all arch variants (amd64 and i386). For some reason the locally cached version from the bullseye/main package repository is back on 2.31-13+deb11u5. I'd guess that was just caused by unfortunate timing with updates being published and do an update cycle with gui update tools or sudo apt update and sudo apt upgrade, then try again.

If that doesn't work, then you should look at explicitly asking apt to install the exact and matched version from the bullseye-security/main repository, which would be something like sudo apt install libc6=2.31-13+deb11u7 libc6:i386=2.31-13+deb11u7.

SuellenMiranda commented 8 months ago

Well, sorry for the delay in responding, but with the return of my classes at college I'm having to divide my attention between solving this problem with Steam and classes.

I saw the link and I understand the problem it could be, some friends who tried to help me also had the same problem but we couldn't actually solve it. I've already done these first 2 commands a lot, but I did them again just to clear my conscience, right?

Here the first 2 commands:

image image image

I tested to see if it finally worked and it gave me the same problem again as if the installation was either not done or it was not working (which already happened with one of my windows, when I was using Python as a server). Here's what happened when you tried to open Steam and press enter to continue:

image

As it didn't work I tried the last command and finally the same thing, I ran the command apparently it worked and gave the same error when running Steam.

image image

It's good to remember that the app is ''theoretically'' downloaded. However, when running it to finish the installation and download some games (there are at most 2 or 3 that I wanted to use) it shows that it cannot run the two 32-bit libraries.

kisak-valve commented 8 months ago

Has the output of sudo apt install libgl1-mesa-dri libgl1-mesa-dri:i386 changed?

SuellenMiranda commented 8 months ago

still remains at "impossible to fix problems, you kept (hold) broken packages.

image

kisak-valve commented 8 months ago

You'll need to repeat the same process of looking at what packages are available that are in conflict, and see if the locally installed package is newer than or doesn't match what's available in Debian's repositories. The next step would be to check out the 32 bit and 64 bit packages for libbsd0 and libtinfo6, which you can see in your screenshot. (Something like apt policy libbsd0 libbsd0:i386 libtinfo6 libtinfo6:i386)

Alternatively, since a general update didn't clear the issue, I would suspect that a regional mirror of Debian's software repository is not getting proper updates of i386 packages and check if that can be manually configure to a known good repository mirror, but that's probably better handled with your distro's community and with someone who doesn't require a translator.

SuellenMiranda commented 8 months ago

Well, I've already tried redoing everything from 0 about 2 times and it always gives the same error. I bought this laptop and it already comes with this distro, normally I use Ubuntu, and since when I bought it it has pending updates that it simply won't install. Could the problem be with this update not installing and preventing some things from working?