我无法在 19.10 上安装 steam-installer

我无法在 19.10 上安装 steam-installer

我是 ubuntu 新手,正在尝试下载 steam。我尝试下载 steam 安装程序,但出现此错误。

sudo apt-get install steam-installer

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 steam-installer : Depends: steam (= 1:1.0.0.54+repack-5ubuntu1)
E: Unable to correct problems, you have held broken packages.

答案1

sudo dpkg --add-architecture i386

steam 需要一堆 i386 包。

sudo apt update

然后再试一次。

答案2

您可以先尝试以下方法:

  • 下载软件包:wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb
  • 安装:sudo apt install python-apt && sudo apt install ./steam.deb
    它询问是否启动 steam 来为当前用户配置它。我点击按钮并在提示时输入我的用户密码。

确保您的蒸汽源列表如下所示:

$ cat /etc/apt/sources.list.d/steam.list 
deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam

然后尝试使用以下命令再次安装:

sudo apt install steam-installer

相关内容