protonscr

Steam broken on ubuntu 21.04

steamopen Distro Family: Ubuntu
ValveSoftware/steam-for-linux#7766 · opened 2021-04-23 by jpVm5jYYRE1VIKL · updated 2021-07-26 · 6 comments · github
JjpVm5jYYRE1VIKL 2021-04-23 github

Your system information

  • Steam client version (build number or date):
  • Distribution (e.g. Ubuntu):
  • Opted into Steam client beta?: [Yes/No]
  • Have you checked for system updates?: [Yes/No]

Issue happend after upgrade from 20.10 to 21.04. Steam stopped to work completely . Reinstallation also not solved issue.

Please describe your issue in as much detail as possible:

Describe what you expected should happen and what did happen. Please link any large code pastes as a Github Gist

Expected:
steam must work

Happen :
Steam cannot reach internet even if it is reachable

[2021-04-23 19:17:19] Startup - updater built Oct 28 2020 23:34:22
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[2021-04-23 19:17:19] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2021-04-23 19:17:19] Using the following download hosts for Public, Realm steamglobal
[2021-04-23 19:17:19] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in'
[2021-04-23 19:17:19] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2021-04-23 19:17:19] Verifying installation...
[2021-04-23 19:17:19] Unable to read and verify install manifest /home/ktoto/.steam/debian-installation/package/steam_client_ubuntu12.installed
[2021-04-23 19:17:19] Verification complete
[2021-04-23 19:17:19] Downloading Update...
[2021-04-23 19:17:19] Checking for available update...
[2021-04-23 19:17:19] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
[2021-04-23 19:17:20] Download failed: http error 0 (client-download.steampowered.com/client/steam_client_ubuntu12)
[2021-04-23 19:17:20] Downloading manifest: media.steampowered.com/client/steam_client_ubuntu12
[2021-04-23 19:17:20] Download failed: http error 0 (media.steampowered.com/client/steam_client_ubuntu12)
[2021-04-23 19:17:20] DownloadManifest - exhausted list of download hosts
[2021-04-23 19:17:20] failed to load manifest from buffer.
[2021-04-23 19:17:20] Failed to load manifest
[2021-04-23 19:17:20] Error: Download failed: http error 0
[2021-04-23 19:17:20] Saving metrics to disk (/home/ktoto/.steam/debian-installation/package/steam_client_metrics.bin)
[2021-04-23 19:17:20] Error: Steam needs to be online to update.         Please confirm your network connection and try again.
[2021-04-23 19:17:21] Shutdown
/data/src/tier0/threadtools.cpp (3658) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x573a3ec0/0x0xf4bcea'
/data/src/tier0/threadtools.cpp (3658) : Assertion Failed: Illegal termination of worker thread 'Thread(0x0x573a3ec0/0x0xf4bcea'
cat: '/home/ktoto/.steam/debian-installation/ubuntu12_32/steam-runtime.tar.xz.part*': No such file or directory
tar: This does not look like a tar archive
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
find: ‘/home/ktoto/.steam/debian-installation/ubuntu12_32/steam-runtime’: No such file or directory

in same time on same computer :

wget client-download.steampowered.com/client/steam_client_ubuntu12
--2021-04-23 19:19:40--  http://client-download.steampowered.com/client/steam_client_ubuntu12
Resolving client-download.steampowered.com (client-download.steampowered.com)... 205.196.6.230, 205.196.6.232, 205.196.6.233, ...
Connecting to client-download.steampowered.com (client-download.steampowered.com)|205.196.6.230|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cdn.akamai.steamstatic.com/client/steam_client_ubuntu12?1618269289 [following]
--2021-04-23 19:19:40--  http://cdn.akamai.steamstatic.com/client/steam_client_ubuntu12?1618269289
Resolving cdn.akamai.steamstatic.com (cdn.akamai.steamstatic.com)... 95.101.78.171, 95.101.78.226
Connecting to cdn.akamai.steamstatic.com (cdn.akamai.steamstatic.com)|95.101.78.171|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9529 (9,3K) [application/octet-stream]
Saving to: ‘steam_client_ubuntu12’

steam_client_ubuntu12         100%[==============================================>]   9,31K  --.-KB/s    in 0s      

2021-04-23 19:19:40 (18,7 MB/s) - ‘steam_client_ubuntu12’ saved [9529/9529]

If to start wireshark it is visible that steam even don`t try to do attempt to connect anywhere.

Steps for reproducing this issue:

  1. upgrade to ubuntu 21.04
  2. steam stop to work
Kkisak-valve maintainer 2021-04-23 github

Hello @jpVm5jYYRE1VIKL, can you check if your system has libnss-resolve:i386 with something like apt policy libnss-resolve:i386? If not, please test if adding it with sudo apt install libnss-resolve:i386 has an effect on your issue. (from #4378)

JjpVm5jYYRE1VIKL 2021-04-23 github

library installed

root@ktotoPC:~# apt install libnss-resolve:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libnss-resolve:i386 is already the newest version (247.3-3ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I seen in #4378 people try to install also libcurl3 . Problem that 21.04 ubuntu use libcurl4 which already installed.

Sskandalfo 2021-05-22 github

I managed to get past this point by running steam under strace -f and realizing it was trying to connect to a missing socket at /var/run/nscd/socket.

Ran

apt install nscd

And suddenly steam managed to resolve names.

Rrestless1987 2021-05-24 github

@skandalfo your suggestion helped me to fix my steam installation on fedora 34. strace -f steam 2> steam.log with checking the log with grep "nicht gefunden" steam.log (on a german installation) revealed the missing socket. After installing via sudo dnf in nscd -y and enabling it sudo systemctl enable --now nscd it works :-)

DDanMan 2021-05-30 github

FYI: On Fedora 33 nscd isn't installed either and Steam works nonetheless.

Sscalway 2021-07-26 github

same here.

sudo apt install nscd

and (not sure if necessary)

sudo systemctl enable --now nscd

solved problem.

Nothing extracted yet.