Skip to content

When installing Steam, the Steam client cannot obtain administrator rights when installing additional dependencies #448

@linghengqian

Description

@linghengqian

cmd /c ver

Microsoft Windows [版本 10.0.22631.3296]

wsl --status

默认分发: Ubuntu-22.04
默认版本: 2

Did the problem occur during installation?

  • Yes

What happened?

  • When installing Steam, the Steam client cannot obtain administrator rights when installing additional dependencies.
  • I installed steam by following the steps below. The wsl version involved is https://www.microsoft.com/store/productId/9P7BDVKVNXZ6 , Ubuntu-Preview.
  • There are some irrelevant pop-ups when executing sudo apt update && sudo apt upgrade -y, which seems to be caused by the upcoming release of Ubuntu 24.04.
sudo apt update && sudo apt upgrade -y

cd /tmp/
wget https://repo.steampowered.com/steam/archive/precise/steam_latest.deb
sudo apt install --fix-missing ./steam_latest.deb -y
sudo dpkg --add-architecture i386
sudo apt update -y

steam
  • At this time, entering the password of the current ubuntu account in the steam client will result in a prompt of no authorization. If I try to copy this log, it will cause the steam client to crash.

  • image

  • image

  • image

  • image

  • The only way to solve this problem is to install the dependencies manually, I don't know why the steam client reports no authorization.

sudo apt install libc6:amd64 libc6:i386 libegl1:amd64 libegl1:i386 libgbm1:amd64 libgbm1:i386 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1:amd64 libgl1:i386 steam-libs-amd64:amd64 steam-libs-i386:i386 -y
steam
  • image
  • image

What was expected?

Steps to reproduce

  • Execute the following command on the new Ubuntu Preview WSL instance.
sudo apt update && sudo apt upgrade -y

cd /tmp/
wget https://repo.steampowered.com/steam/archive/precise/steam_latest.deb
sudo apt install --fix-missing ./steam_latest.deb -y
sudo dpkg --add-architecture i386
sudo apt update -y

steam

Additional information

  • To be honest, it seems that no Log is needed because it is reproducible unless there are any issues related to WSLg. When executing steam, the following log exists in the shell.
lingh@DESKTOP-LK088AH:/tmp$ steam
Package libc6:i386 needs to be installed
Package libegl1:i386 needs to be installed
Package libgbm1:i386 needs to be installed
Package libgl1-mesa-dri:i386 needs to be installed
Package libgl1:i386 needs to be installed
Package steam-libs-amd64:amd64 needs to be installed
Package steam-libs-i386:i386 needs to be installed
xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
steam.sh[20772]: Running Steam on ubuntu 24.04 64-bit
steam.sh[20772]: STEAM_RUNTIME is enabled automatically
setup.sh[20914]: Steam runtime environment up-to-date!
/home/lingh/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: line 85: steam-runtime-identify-library-abi: command not found
run.sh[20926]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig
steam.sh[20772]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
steam.sh[20772]: Can't find 'steam-runtime-check-requirements', continuing anyway
/home/lingh/.local/share/Steam/steam.sh: line 792: /home/lingh/.local/share/Steam/ubuntu12_32/steam: cannot execute: required file not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions