无法在 Ubuntu 服务器 20.04 上安装 i386 软件包

无法在 Ubuntu 服务器 20.04 上安装 i386 软件包

我正在使用版本 Ubuntu 20.04.4 LTS(GNU/Linux 5.13.0-1027-oracle aarch64)尝试添加 i386。

我想安装一个名为 byond 的程序,该程序只能使用 32 位软件包运行。我按照他们的步骤一步一步进行操作:在基于 Debian/Ubuntu 的发行版上运行 BYOND(DreamDaemon)的更新指南

我尝试通过以下命令安装它:

sudo dpkg --add-architecture i386

和:

sudo apt update

我得到了错误

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

然后这个

sudo apt install libstdc++6:i386

最后

Building dependency tree   
Reading state information... Done
E: Unable to locate package libstdc++6:i386

我该如何解决此错误?它与 (/etc/apt/sources.list) 文件有关吗?还是与处理器架构(基于 Arm 的处理器)有关?

提前感谢您的关注。

相关内容