首页 > 解决方案 > 无法创建新文件“/var/lib/dpkg/arch-new”

问题描述

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

dpkg --print-architecture

返回 amd64

当我使用dpkg --print-foreign-architectures
它时返回i386

usingsudo dpkg --add-architecture i386
什么也没给我,但即使在之后它也不会更新

sudo apt-get update

不使用 sudo 我得到以下错误

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

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

标签: steamdpkgdebian-stretch

解决方案


如果您尝试安装Steam for Windows snap 运行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

推荐阅读