无法创建新文件'/var/lib/dpkg/arch-new'

问题描述 投票:0回答:1

我一直在尝试在 debian 9 上安装 steam,我需要获得 i386 架构,但它不允许我这样做

dpkg --print-architecture

退货

amd64

当我使用

dpkg --print-foreign-architectures

返回时带有
i386

使用

sudo dpkg --add-architecture i386

没有返回任何内容,但即使在

之后它也不会更新
sudo apt-get update

不使用 sudo 我收到以下错误

dpkg: error: unable to create new file '/var/lib/dpkg/arch-new': Permission denied

我似乎找不到有关我的系统的修复程序

steam dpkg debian-stretch
1个回答
0
投票

如果您尝试安装 Windows 版 Steam 快照运行

snap install steamforwindows --edge

如果您尝试构建 Windows 版 Steam 快照运行:

git clone https://github.com/snapcrafters/steamforwindows.git
cd steamforwindows
sudo snapcraft # needs sudo to enable the i386 architecture
© www.soinside.com 2019 - 2024. All rights reserved.