apt-get update i386 软件包 404 未找到

apt-get update i386 软件包 404 未找到

信息:

Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

我正在尝试为 Valheim Steam 游戏安装服务器,并且我需要 i386 包。

我添加了 i386 架构,但现在apt-get update我得到了这个

Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Ign:5 http://ports.ubuntu.com/ubuntu-ports focal/main i386 Packages
Ign:6 http://ports.ubuntu.com/ubuntu-ports focal/restricted i386 Packages
Ign:7 http://ports.ubuntu.com/ubuntu-ports focal/universe i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports focal/multiverse i386 Packages
Ign:5 http://ports.ubuntu.com/ubuntu-ports focal/main i386 Packages
Ign:6 http://ports.ubuntu.com/ubuntu-ports focal/restricted i386 Packages
Ign:7 http://ports.ubuntu.com/ubuntu-ports focal/universe i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports focal/multiverse i386 Packages
Ign:5 http://ports.ubuntu.com/ubuntu-ports focal/main i386 Packages
Ign:6 http://ports.ubuntu.com/ubuntu-ports focal/restricted i386 Packages
Ign:7 http://ports.ubuntu.com/ubuntu-ports focal/universe i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports focal/multiverse i386 Packages
Ign:5 http://ports.ubuntu.com/ubuntu-ports focal/main i386 Packages
Ign:6 http://ports.ubuntu.com/ubuntu-ports focal/restricted i386 Packages
Ign:7 http://ports.ubuntu.com/ubuntu-ports focal/universe i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports focal/multiverse i386 Packages
Ign:5 http://ports.ubuntu.com/ubuntu-ports focal/main i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse i386 Packages
Ign:6 http://ports.ubuntu.com/ubuntu-ports focal/restricted i386 Packages
Ign:7 http://ports.ubuntu.com/ubuntu-ports focal/universe i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports focal/multiverse i386 Packages
Err:5 http://ports.ubuntu.com/ubuntu-ports focal/main i386 Packages
  404  Not Found [IP: 91.189.88.152 80]
Ign:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse i386 Packages
Ign:6 http://ports.ubuntu.com/ubuntu-ports focal/restricted i386 Packages
Ign:7 http://ports.ubuntu.com/ubuntu-ports focal/universe i386 Packages
Ign:8 http://ports.ubuntu.com/ubuntu-ports focal/multiverse i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe i386 Packages
Err:9 http://ports.ubuntu.com/ubuntu-ports focal-updates/main i386 Packages
  404  Not Found [IP: 91.189.88.152 80]
Ign:10 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe i386 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports focal-security/main i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted i386 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports focal-security/universe i386 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse i386 Packages
Ign:13 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe i386 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports focal-security/main i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted i386 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports focal-security/universe i386 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse i386 Packages
Err:13 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe i386 Packages
  404  Not Found [IP: 91.189.88.152 80]
Ign:14 http://ports.ubuntu.com/ubuntu-ports focal-security/main i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted i386 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports focal-security/universe i386 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse i386 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports focal-security/main i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted i386 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports focal-security/universe i386 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse i386 Packages
Ign:14 http://ports.ubuntu.com/ubuntu-ports focal-security/main i386 Packages
Ign:15 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted i386 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports focal-security/universe i386 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse i386 Packages
Err:14 http://ports.ubuntu.com/ubuntu-ports focal-security/main i386 Packages
  404  Not Found [IP: 91.189.88.152 80]
Ign:15 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted i386 Packages
Ign:16 http://ports.ubuntu.com/ubuntu-ports focal-security/universe i386 Packages
Ign:17 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse i386 Packages
Reading package lists... Done
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal-updates/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal-backports/universe/binary-i386/Packages  404  Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal-security/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.152 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

我不知道如何解决它。

我尝试过,apt-get dist-upgrade但是没有成功。

我的 /etc/apt/sources.list有:

deb http://ports.ubuntu.com/ubuntu-ports focal main restricted
deb http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted
deb http://ports.ubuntu.com/ubuntu-ports focal universe
deb http://ports.ubuntu.com/ubuntu-ports focal-updates universe
deb http://ports.ubuntu.com/ubuntu-ports focal multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-updates multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports focal-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports focal-security universe
deb http://ports.ubuntu.com/ubuntu-ports focal-security multiverse

不要告诉我该做什么

sudo dpkg --remove-architecture i386

我知道那可以解决问题apt-get update但是我需要 i386 架构。

答案1

不幸的是,这看起来像是一个经典XY问题

您的实际问题似乎是 Steam 无法在运行 Ubuntu 的 Pi 上运行。

不幸的是,您被引向了与 i386 库无关的问题。

  • Steam 可以在 Raspbian 上运行,因为 Valve 在兼容性方面做了大量工作。Valve 尚未将这项工作贡献给 Ubuntu,因此 Steam 目前无法在运行 Ubuntu 的 Pi 上运行。这是 Valve 的决定,而不是 Ubuntu 的决定。

  • steam 的 i386 库是 amd64 系统(大多数台式机)的问题。但在 RPI 上,这些库是 Valve 兼容软件的一部分。如果没有(高资源)模拟,RPis 就无法运行 i386 软件。

相关内容