运行 Unbuntu 22.04。尝试通过以下命令下载 SteamCMD。arch 是 aarch64
sudo add-apt-repository multiverse;
sudo dpkg --add-architecture i386;
sudo apt update
sudo apt install steamcmd
由于我不知道自己在做什么,所以不确定还需要什么其他信息,但我会尝试填写更多信息!
~$ sudo apt update
Hit:1 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
Hit:3 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
Hit:4 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
Ign:5 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/main i386 Packages
Ign:6 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/restricted i386 Packages
Ign:7 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe i386 Packages
Ign:8 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/multiverse i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports jammy-security/main i386 Packages
Ign:5 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/main i386 Packages
Ign:6 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/restricted i386 Packages
Ign:7 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse i386 Packages
Ign:8 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/multiverse i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports jammy-security/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse i386 Packages
Ign:13 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main i386 Packages
Ign:14 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted i386 Packages
Ign:15 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/universe i386 Packages
Ign:16 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse i386 Packages
Ign:5 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/main i386 Packages
Ign:6 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/restricted i386 Packages
Ign:7 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports jammy-security/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted i386 Packages
Ign:8 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/multiverse i386 Packages
Ign:17 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/main i386 Packages
Ign:18 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/universe i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe i386 Packages
Ign:13 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports jammy-security/main i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted i386 Packages
Ign:14 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse i386 Packages
Ign:15 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/universe i386 Packages
Ign:16 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse i386 Packages
Ign:5 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/main i386 Packages
Ign:6 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/restricted i386 Packages
Ign:7 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe i386 Packages
Ign:8 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/multiverse i386 Packages
Ign:17 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/main i386 Packages
Ign:18 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/universe i386 Packages
Ign:9 http://ports.ubuntu.com/ubuntu-ports jammy-security/main i386 Packages
Ign:13 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main i386 Packages
Ign:14 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted i386 Packages
Ign:15 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/universe i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse i386 Packages
Ign:16 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse i386 Packages
Ign:5 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/main i386 Packages
Ign:6 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/restricted i386 Packages
Ign:7 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe i386 Packages
Ign:8 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/multiverse i386 Packages
Ign:17 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/main i386 Packages
Ign:18 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/universe i386 Packages
Ign:13 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main i386 Packages
Err:9 http://ports.ubuntu.com/ubuntu-ports jammy-security/main i386 Packages
404 Not Found [IP: 185.125.190.39 80]
Ign:14 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted i386 Packages
Ign:15 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/universe i386 Packages
Ign:10 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted i386 Packages
Ign:11 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe i386 Packages
Ign:12 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse i386 Packages
Ign:16 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse i386 Packages
Err:5 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/main i386 Packages
404 Not Found [IP: 185.125.190.39 80]
Ign:6 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/restricted i386 Packages
Ign:7 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/universe i386 Packages
Ign:8 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy/multiverse i386 Packages
Ign:17 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/main i386 Packages
Ign:18 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/universe i386 Packages
Ign:13 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main i386 Packages
Ign:14 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted i386 Packages
Ign:15 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/universe i386 Packages
Ign:16 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse i386 Packages
Ign:17 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/main i386 Packages
Ign:18 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/universe i386 Packages
Err:13 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/main i386 Packages
404 Not Found [IP: 185.125.190.39 80]
Ign:14 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/restricted i386 Packages
Ign:15 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/universe i386 Packages
Ign:16 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse i386 Packages
Err:17 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/main i386 Packages
404 Not Found [IP: 185.125.190.39 80]
Ign:18 http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports jammy-backports/universe i386 Packages
Reading package lists... Done
E: Failed to fetch http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/dists/jammy/main/binary-i386/Packages 404 Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/jammy-security/main/binary-i386/Packages 404 Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/dists/jammy-updates/main/binary-i386/Packages 404 Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://iad-ad-1.clouds.ports.ubuntu.com/ubuntu-ports/dists/jammy-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.
答案1
您使用的 VM 基于 ARM CPU 架构(如 Raspberry Pi 或手机中的处理器)。该steamcmd
软件包仅可用的对于 i386 架构,这种架构在桌面电脑和笔记本电脑中更为常见。
本质上,i386 是流行的 Intel 和 AMD“x86”架构的一个子集。因此,您将无法在此特定机器上安装 i386 steamcmd 包。
解决方案是启动一个 x86-64 的 VM - 更现代的 64 位(和 32 位兼容)x86 版本。