protonscr

bash: /usr/games/steam: No such file or directory

steamopen Distro Family: DebianDistro-provided steam package
ValveSoftware/steam-for-linux#11983 · opened 2025-05-07 by el-chay · updated 2025-05-08 · 3 comments · github
Eel-chay 2025-05-07 github

Your system information

  • Steam client version (build number or date): 1:1.0.0.81
  • Distribution (e.g. Ubuntu): Debian 12 (Bookworm)
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • Steam Logs: Steam doesn't get to run
  • GPU: Nvidia

Please describe your issue in as much detail as possible:

Installing steam_latest.deb from http://media.steampowered.com/client/installer/steam.deb
Invoking steam from a terminal does not start the installer and returns the error:

bash: /usr/games/steam: No such file or directory

Invoking /usr/bin/steam (full path to the script) starts the installer/client as expected.

Steps for reproducing this issue:

  1. Debian fresh install applying https://wiki.debian.org/NvidiaGraphicsDrivers with multiarch support.
  2. dpkg -i steam_latest.deb from http://media.steampowered.com/client/installer/steam.deb
  3. Invoke steam in a terminal
Kkisak-valve maintainer 2025-05-07 github

Hello @el-chay, the Valve-provided Steam package doesn't interact with /usr/games. This reads like a leftover from a distro-modified package which has had the Valve-provided package forced over it and they don't have the same filesystem layout.

Can you run which steam, and then figure out which package the result belongs to? Something like dpkg -S /path/from/which might tell you that.

Eel-chay 2025-05-07 github
$ dpkg -S $(which steam)
steam-launcher: /usr/bin/steam
$ dpkg-query -W steam-launcher
steam-launcher	1:1.0.0.82
$ apt-cache rdepends steam-launcher
steam-launcher
Reverse Depends:
  steam-devices
  steam-installer
  steam-installer
  steam-devices

HTH

Eel-chay 2025-05-08 github

I've noticed you marked this ticket as "distro-provided". In case the history serves you:

  • I started installing with the Debian-provided packages. But got the failure of #11984.
  • I wanted to make a report, and this website says to install the official one, and I did:
   47  dpkg -P steam-installer steam-launcher steam-libs:{i386,amd64} steam-libs-i386:i386
   48  dpkg -i steam_latest.deb 
  • As expected, I was able to reproduce the bug #11984, and found this mishap

Nothing extracted yet.