steam - 无法创建新文件“/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
我似乎无法找到有关我的系统的修复程序
解决方案
如果您尝试安装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
推荐阅读
- javascript - javascript动态添加多组文本框并将它们全部重复
- php - 在 drupal8 中使用特定术语保存分类术语 id
- google-translate - Google Cloud Translator API 归属的自定义协议
- c++ - 调查小型转储而不从进程中获取所有二进制文件
- swift - tableView 重新加载但不更新/更改 UI
- kotlin - Kotlin RxJava2 Flowable PublishSubject 不发出数据 onNext
- java - Sns @NotificationMessage 不适用于不同于 String 的类型
- vb.net - vb.net 使用变量动态创建表单名称
- sql - 如何查询给定数字中所有数字的总和?
- python - 如何使用 django 向默认 auth_user 模型添加额外的模型字段