无法在我的 Chromebook 上安装 steam

无法在我的 Chromebook 上安装 steam

我不太了解 Linux 的工作原理,我只是想在我的 Chromebook 上下载 steam,但是,每当我输入命令来下载它时,我都会收到错误。

The following packages have unmet dependencies:
 steam:i386 : Depends: libgl1-mesa-dri:i386 but it is not going to be installed
              Depends: libgl1-mesa-glx:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我不知道这是什么意思,也不知道该怎么办。几个月前,我使用相同的命令下载了 steam,成功安装了,后来我卸载了它,现在无法重新安装它。

答案1

我遇到了同样的问题。我为“penguin”容器安装了 Ubuntu 20.04。但是,在/etc/apt/sources.list.dcros.listcros-gpu.list,有一些 Debian 源,我将其注释掉了(使用“#”)。

cat cros.list 
#deb https://storage.googleapis.com/cros-packages/84 stretch main

cat cros-gpu.list 
#deb https://deb.debian.org/debian stretch-backports main
#deb [arch=amd64,i386] https://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 main

然后我做了:

sudo apt-get update && sudo apt-get upgrade && sudo apt-get install steam

并且所有“libgl1-mesa*”内容都已解决并安装,没有依赖问题。

答案2

下列的https://linuxconfig.org/how-to-install-steam-with-steam-play-on-debian-10-buster在 Pixel Slate 上为我工作:

sudo dpkg --add-architecture i386

sudo tee /etc/apt/sources.list.d/debian-nonfree.list >/dev/null << EOF
deb http://deb.debian.org/debian/ buster main non-free contrib
deb-src http://deb.debian.org/debian/ buster main non-free contrib

deb http://security.debian.org/debian-security buster/updates main contrib non-free
deb-src http://security.debian.org/debian-security buster/updates main contrib non-free
EOF

sudo apt update
sudo apt install steam

相关内容