- 使用 rpi-imager 将 Ubuntu 24.04 LTS 写入 USB SSD。
- 安装正常,可以在插入 USB SSD 的 Raspberry Pi 5 上工作(microSD 卡比较弱...)。
但如果我发出一个简单的“apt-get update”,那么我会得到这个:
# apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
Get:2 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [89.7 kB]
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Get:5 http://archive.ubuntu.com/ubuntu noble-security InRelease [89.7 kB]
Ign:6 http://archive.ubuntu.com/ubuntu noble/main arm64 Packages
Get:7 http://archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]
Get:8 http://archive.ubuntu.com/ubuntu noble/main arm64 Components [460 kB]
Get:9 http://archive.ubuntu.com/ubuntu noble/main Icons (48x48) [106 kB]
Get:10 http://archive.ubuntu.com/ubuntu noble/main Icons (64x64) [156 kB]
Get:11 http://archive.ubuntu.com/ubuntu noble/main Icons (64x64@2) [21.8 kB]
Get:12 http://archive.ubuntu.com/ubuntu noble/main arm64 c-n-f Metadata [30.0 kB]
Ign:13 http://archive.ubuntu.com/ubuntu noble/universe arm64 Packages
Get:14 http://archive.ubuntu.com/ubuntu noble/universe Translation-en [5982 kB]
Get:15 http://archive.ubuntu.com/ubuntu noble/universe arm64 Components [3573 kB]
Get:16 http://archive.ubuntu.com/ubuntu noble/universe Icons (48x48) [3717 kB]
Get:17 http://archive.ubuntu.com/ubuntu noble/universe Icons (64x64) [7747 kB]
Get:18 http://archive.ubuntu.com/ubuntu noble/universe Icons (64x64@2) [75.0 kB]
Get:19 http://archive.ubuntu.com/ubuntu noble/universe arm64 c-n-f Metadata [295 kB]
Ign:20 http://archive.ubuntu.com/ubuntu noble/restricted arm64 Packages
Get:21 http://archive.ubuntu.com/ubuntu noble/restricted Translation-en [18.7 kB]
Get:22 http://archive.ubuntu.com/ubuntu noble/restricted arm64 c-n-f Metadata [412 B]
Ign:23 http://archive.ubuntu.com/ubuntu noble/multiverse arm64 Packages
Get:24 http://archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB]
Get:25 http://archive.ubuntu.com/ubuntu noble/multiverse arm64 Components [31.6 kB]
Get:26 http://archive.ubuntu.com/ubuntu noble/multiverse Icons (48x48) [56.1 kB]
Get:27 http://archive.ubuntu.com/ubuntu noble/multiverse Icons (64x64) [186 kB]
Get:28 http://archive.ubuntu.com/ubuntu noble/multiverse Icons (64x64@2) [904 B]
Get:29 http://archive.ubuntu.com/ubuntu noble/multiverse arm64 c-n-f Metadata [7152 B]
Ign:30 http://archive.ubuntu.com/ubuntu noble-updates/main arm64 Packages
Get:31 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [6704 B]
Get:32 http://archive.ubuntu.com/ubuntu noble-updates/main arm64 c-n-f Metadata [108 B]
Ign:33 http://archive.ubuntu.com/ubuntu noble-updates/universe arm64 Packages
Get:34 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [4524 B]
Get:35 http://archive.ubuntu.com/ubuntu noble-updates/universe arm64 c-n-f Metadata [112 B]
Get:36 http://archive.ubuntu.com/ubuntu noble-updates/restricted arm64 c-n-f Metadata [116 B]
Get:37 http://archive.ubuntu.com/ubuntu noble-updates/multiverse arm64 c-n-f Metadata [116 B]
Ign:38 http://archive.ubuntu.com/ubuntu noble-security/main arm64 Packages
Get:39 http://archive.ubuntu.com/ubuntu noble-security/main Translation-en [6544 B]
Get:40 http://archive.ubuntu.com/ubuntu noble-security/main arm64 c-n-f Metadata [108 B]
Ign:41 http://archive.ubuntu.com/ubuntu noble-security/universe arm64 Packages
Get:42 http://archive.ubuntu.com/ubuntu noble-security/universe Translation-en [3672 B]
Get:43 http://archive.ubuntu.com/ubuntu noble-security/universe arm64 c-n-f Metadata [112 B]
Get:44 http://archive.ubuntu.com/ubuntu noble-security/restricted arm64 c-n-f Metadata [116 B]
Get:45 http://archive.ubuntu.com/ubuntu noble-security/multiverse arm64 c-n-f Metadata [116 B]
Ign:6 http://archive.ubuntu.com/ubuntu noble/main arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu noble/universe arm64 Packages
Ign:20 http://archive.ubuntu.com/ubuntu noble/restricted arm64 Packages
Ign:23 http://archive.ubuntu.com/ubuntu noble/multiverse arm64 Packages
Ign:30 http://archive.ubuntu.com/ubuntu noble-updates/main arm64 Packages
Ign:33 http://archive.ubuntu.com/ubuntu noble-updates/universe arm64 Packages
Ign:38 http://archive.ubuntu.com/ubuntu noble-security/main arm64 Packages
Ign:41 http://archive.ubuntu.com/ubuntu noble-security/universe arm64 Packages
Ign:6 http://archive.ubuntu.com/ubuntu noble/main arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu noble/universe arm64 Packages
Ign:20 http://archive.ubuntu.com/ubuntu noble/restricted arm64 Packages
Ign:23 http://archive.ubuntu.com/ubuntu noble/multiverse arm64 Packages
Ign:30 http://archive.ubuntu.com/ubuntu noble-updates/main arm64 Packages
Ign:33 http://archive.ubuntu.com/ubuntu noble-updates/universe arm64 Packages
Ign:38 http://archive.ubuntu.com/ubuntu noble-security/main arm64 Packages
Ign:41 http://archive.ubuntu.com/ubuntu noble-security/universe arm64 Packages
Ign:6 http://archive.ubuntu.com/ubuntu noble/main arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu noble/universe arm64 Packages
Ign:20 http://archive.ubuntu.com/ubuntu noble/restricted arm64 Packages
Ign:23 http://archive.ubuntu.com/ubuntu noble/multiverse arm64 Packages
Ign:30 http://archive.ubuntu.com/ubuntu noble-updates/main arm64 Packages
Ign:33 http://archive.ubuntu.com/ubuntu noble-updates/universe arm64 Packages
Ign:38 http://archive.ubuntu.com/ubuntu noble-security/main arm64 Packages
Ign:41 http://archive.ubuntu.com/ubuntu noble-security/universe arm64 Packages
Ign:6 http://archive.ubuntu.com/ubuntu noble/main arm64 Packages
Ign:13 http://archive.ubuntu.com/ubuntu noble/universe arm64 Packages
Ign:20 http://archive.ubuntu.com/ubuntu noble/restricted arm64 Packages
Ign:23 http://archive.ubuntu.com/ubuntu noble/multiverse arm64 Packages
Ign:30 http://archive.ubuntu.com/ubuntu noble-updates/main arm64 Packages
Ign:33 http://archive.ubuntu.com/ubuntu noble-updates/universe arm64 Packages
Ign:38 http://archive.ubuntu.com/ubuntu noble-security/main arm64 Packages
Ign:41 http://archive.ubuntu.com/ubuntu noble-security/universe arm64 Packages
Err:6 http://archive.ubuntu.com/ubuntu noble/main arm64 Packages
404 Not Found [IP: 2620:2d:4002:1::102 80]
Ign:13 http://archive.ubuntu.com/ubuntu noble/universe arm64 Packages
Ign:20 http://archive.ubuntu.com/ubuntu noble/restricted arm64 Packages
Ign:23 http://archive.ubuntu.com/ubuntu noble/multiverse arm64 Packages
Err:30 http://archive.ubuntu.com/ubuntu noble-updates/main arm64 Packages
404 Not Found [IP: 2620:2d:4002:1::102 80]
Ign:33 http://archive.ubuntu.com/ubuntu noble-updates/universe arm64 Packages
Err:38 http://archive.ubuntu.com/ubuntu noble-security/main arm64 Packages
404 Not Found [IP: 2620:2d:4002:1::102 80]
Ign:41 http://archive.ubuntu.com/ubuntu noble-security/universe arm64 Packages
Fetched 23.6 MB in 4s (5503 kB/s)
** (appstreamcli:3555): WARNING **: 15:24:19.985: No origin found for file ports.ubuntu.com_ubuntu-ports_dists_noble_main_dep11_Components-arm64.yml.gz
** (appstreamcli:3555): WARNING **: 15:24:19.985: No origin found for file ports.ubuntu.com_ubuntu-ports_dists_noble_universe_dep11_Components-arm64.yml.gz
** (appstreamcli:3555): WARNING **: 15:24:19.985: No origin found for file ports.ubuntu.com_ubuntu-ports_dists_noble_multiverse_dep11_Components-arm64.yml.gz
Reading package lists... Done
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble/main/binary-arm64/Packages 404 Not Found [IP: 2620:2d:4002:1::102 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-updates/main/binary-arm64/Packages 404 Not Found [IP: 2620:2d:4002:1::102 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-security/main/binary-arm64/Packages 404 Not Found [IP: 2620:2d:4002:1::102 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
#
问题:这是一个暂时的问题吗?还是需要手动解决方法作为永久修复?我觉得这不正常。Ubuntu 24 LTS 中缺少 ARM64 软件包?
我向官方镜像错误邮件发送了邮件:[rt.ubuntu.com #82727] - 如果他们回复的话会更新。
使用默认配置..例如:apt 源:
# cat ubuntu.sources
Types: deb
URIs: http://archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
## Ubuntu security updates. Aside from URIs and Suites,
## this should mirror your choices in the previous section.
Types: deb
URIs: http://archive.ubuntu.com/ubuntu/
Suites: noble-security
Components: main universe restricted multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
#
如果我使用 find_mirros 脚本ARM 是否有可替代 ports.ubuntu.com 的存储库?那么最好看起来像“http://ubuntu.macarne.com/ubuntu/”,输出:
# apt-get clean
# apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
Get:2 https://ubuntu.macarne.com/ubuntu noble InRelease [256 kB]
Get:3 https://ubuntu.macarne.com/ubuntu noble-updates InRelease [89.7 kB]
Hit:4 https://ubuntu.macarne.com/ubuntu noble-backports InRelease
Get:5 https://ubuntu.macarne.com/ubuntu noble-security InRelease [89.7 kB]
Ign:6 https://ubuntu.macarne.com/ubuntu noble/main arm64 Packages
Get:7 https://ubuntu.macarne.com/ubuntu noble/main Translation-en [513 kB]
Get:8 https://ubuntu.macarne.com/ubuntu noble/main arm64 Components [460 kB]
Get:9 https://ubuntu.macarne.com/ubuntu noble/main Icons (48x48) [106 kB]
Get:10 https://ubuntu.macarne.com/ubuntu noble/main Icons (64x64) [156 kB]
Get:11 https://ubuntu.macarne.com/ubuntu noble/main Icons (64x64@2) [21.8 kB]
Get:12 https://ubuntu.macarne.com/ubuntu noble/main arm64 c-n-f Metadata [30.0 kB]
Ign:13 https://ubuntu.macarne.com/ubuntu noble/universe arm64 Packages
Get:14 https://ubuntu.macarne.com/ubuntu noble/universe Translation-en [5982 kB]
Get:15 https://ubuntu.macarne.com/ubuntu noble/universe arm64 Components [3573 kB]
Get:16 https://ubuntu.macarne.com/ubuntu noble/universe Icons (48x48) [3717 kB]
Get:17 https://ubuntu.macarne.com/ubuntu noble/universe Icons (64x64) [7747 kB]
Get:18 https://ubuntu.macarne.com/ubuntu noble/universe Icons (64x64@2) [75.0 kB]
Get:19 https://ubuntu.macarne.com/ubuntu noble/universe arm64 c-n-f Metadata [295 kB]
Ign:20 https://ubuntu.macarne.com/ubuntu noble/restricted arm64 Packages
Get:21 https://ubuntu.macarne.com/ubuntu noble/restricted Translation-en [18.7 kB]
Get:22 https://ubuntu.macarne.com/ubuntu noble/restricted arm64 c-n-f Metadata [412 B]
Ign:23 https://ubuntu.macarne.com/ubuntu noble/multiverse arm64 Packages
Get:24 https://ubuntu.macarne.com/ubuntu noble/multiverse Translation-en [118 kB]
Get:25 https://ubuntu.macarne.com/ubuntu noble/multiverse arm64 Components [31.6 kB]
Get:26 https://ubuntu.macarne.com/ubuntu noble/multiverse Icons (48x48) [56.1 kB]
Get:27 https://ubuntu.macarne.com/ubuntu noble/multiverse Icons (64x64) [186 kB]
Get:28 https://ubuntu.macarne.com/ubuntu noble/multiverse Icons (64x64@2) [904 B]
Get:29 https://ubuntu.macarne.com/ubuntu noble/multiverse arm64 c-n-f Metadata [7152 B]
Ign:30 https://ubuntu.macarne.com/ubuntu noble-updates/main arm64 Packages
Get:31 https://ubuntu.macarne.com/ubuntu noble-updates/main Translation-en [6704 B]
Get:32 https://ubuntu.macarne.com/ubuntu noble-updates/main arm64 c-n-f Metadata [108 B]
Ign:33 https://ubuntu.macarne.com/ubuntu noble-updates/universe arm64 Packages
Get:34 https://ubuntu.macarne.com/ubuntu noble-updates/universe Translation-en [4524 B]
Get:35 https://ubuntu.macarne.com/ubuntu noble-updates/universe arm64 c-n-f Metadata [112 B]
Get:36 https://ubuntu.macarne.com/ubuntu noble-updates/restricted arm64 c-n-f Metadata [116 B]
Get:37 https://ubuntu.macarne.com/ubuntu noble-updates/multiverse arm64 c-n-f Metadata [116 B]
Ign:38 https://ubuntu.macarne.com/ubuntu noble-security/main arm64 Packages
Get:39 https://ubuntu.macarne.com/ubuntu noble-security/main Translation-en [6544 B]
Get:40 https://ubuntu.macarne.com/ubuntu noble-security/main arm64 c-n-f Metadata [108 B]
Ign:41 https://ubuntu.macarne.com/ubuntu noble-security/universe arm64 Packages
Get:42 https://ubuntu.macarne.com/ubuntu noble-security/universe Translation-en [3672 B]
Get:43 https://ubuntu.macarne.com/ubuntu noble-security/universe arm64 c-n-f Metadata [112 B]
Get:44 https://ubuntu.macarne.com/ubuntu noble-security/restricted arm64 c-n-f Metadata [116 B]
Get:45 https://ubuntu.macarne.com/ubuntu noble-security/multiverse arm64 c-n-f Metadata [116 B]
Ign:6 http://ubuntu.macarne.com/ubuntu noble/main arm64 Packages
Ign:13 http://ubuntu.macarne.com/ubuntu noble/universe arm64 Packages
Ign:20 http://ubuntu.macarne.com/ubuntu noble/restricted arm64 Packages
Ign:23 http://ubuntu.macarne.com/ubuntu noble/multiverse arm64 Packages
Ign:30 http://ubuntu.macarne.com/ubuntu noble-updates/main arm64 Packages
Ign:6 https://ubuntu.macarne.com/ubuntu noble/main arm64 Packages
Ign:33 http://ubuntu.macarne.com/ubuntu noble-updates/universe arm64 Packages
Ign:13 https://ubuntu.macarne.com/ubuntu noble/universe arm64 Packages
Ign:20 https://ubuntu.macarne.com/ubuntu noble/restricted arm64 Packages
Ign:23 https://ubuntu.macarne.com/ubuntu noble/multiverse arm64 Packages
Ign:30 https://ubuntu.macarne.com/ubuntu noble-updates/main arm64 Packages
Ign:38 http://ubuntu.macarne.com/ubuntu noble-security/main arm64 Packages
Ign:41 http://ubuntu.macarne.com/ubuntu noble-security/universe arm64 Packages
Ign:33 https://ubuntu.macarne.com/ubuntu noble-updates/universe arm64 Packages
Ign:6 https://ubuntu.macarne.com/ubuntu noble/main arm64 Packages
Ign:13 https://ubuntu.macarne.com/ubuntu noble/universe arm64 Packages
Ign:20 https://ubuntu.macarne.com/ubuntu noble/restricted arm64 Packages
Ign:23 https://ubuntu.macarne.com/ubuntu noble/multiverse arm64 Packages
Ign:30 https://ubuntu.macarne.com/ubuntu noble-updates/main arm64 Packages
Ign:38 https://ubuntu.macarne.com/ubuntu noble-security/main arm64 Packages
Ign:41 https://ubuntu.macarne.com/ubuntu noble-security/universe arm64 Packages
Ign:33 https://ubuntu.macarne.com/ubuntu noble-updates/universe arm64 Packages
Ign:38 https://ubuntu.macarne.com/ubuntu noble-security/main arm64 Packages
Ign:41 https://ubuntu.macarne.com/ubuntu noble-security/universe arm64 Packages
Ign:6 http://ubuntu.macarne.com/ubuntu noble/main arm64 Packages
Ign:13 http://ubuntu.macarne.com/ubuntu noble/universe arm64 Packages
Ign:20 http://ubuntu.macarne.com/ubuntu noble/restricted arm64 Packages
Ign:23 http://ubuntu.macarne.com/ubuntu noble/multiverse arm64 Packages
Ign:30 http://ubuntu.macarne.com/ubuntu noble-updates/main arm64 Packages
Ign:33 http://ubuntu.macarne.com/ubuntu noble-updates/universe arm64 Packages
Ign:6 https://ubuntu.macarne.com/ubuntu noble/main arm64 Packages
Ign:13 https://ubuntu.macarne.com/ubuntu noble/universe arm64 Packages
Ign:20 https://ubuntu.macarne.com/ubuntu noble/restricted arm64 Packages
Ign:23 https://ubuntu.macarne.com/ubuntu noble/multiverse arm64 Packages
Ign:30 https://ubuntu.macarne.com/ubuntu noble-updates/main arm64 Packages
Ign:38 http://ubuntu.macarne.com/ubuntu noble-security/main arm64 Packages
Ign:41 http://ubuntu.macarne.com/ubuntu noble-security/universe arm64 Packages
Ign:33 https://ubuntu.macarne.com/ubuntu noble-updates/universe arm64 Packages
Ign:38 https://ubuntu.macarne.com/ubuntu noble-security/main arm64 Packages
Ign:41 https://ubuntu.macarne.com/ubuntu noble-security/universe arm64 Packages
Ign:6 https://ubuntu.macarne.com/ubuntu noble/main arm64 Packages
Ign:13 https://ubuntu.macarne.com/ubuntu noble/universe arm64 Packages
Ign:20 https://ubuntu.macarne.com/ubuntu noble/restricted arm64 Packages
Ign:23 https://ubuntu.macarne.com/ubuntu noble/multiverse arm64 Packages
Ign:30 https://ubuntu.macarne.com/ubuntu noble-updates/main arm64 Packages
Ign:33 https://ubuntu.macarne.com/ubuntu noble-updates/universe arm64 Packages
Ign:38 https://ubuntu.macarne.com/ubuntu noble-security/main arm64 Packages
Ign:41 https://ubuntu.macarne.com/ubuntu noble-security/universe arm64 Packages
Ign:6 http://ubuntu.macarne.com/ubuntu noble/main arm64 Packages
Ign:13 http://ubuntu.macarne.com/ubuntu noble/universe arm64 Packages
Err:6 http://ubuntu.macarne.com/ubuntu noble/main arm64 Packages
404 Not Found [IP: 2602:2ea::93 443]
Ign:20 http://ubuntu.macarne.com/ubuntu noble/restricted arm64 Packages
Ign:23 http://ubuntu.macarne.com/ubuntu noble/multiverse arm64 Packages
Ign:30 http://ubuntu.macarne.com/ubuntu noble-updates/main arm64 Packages
Ign:33 http://ubuntu.macarne.com/ubuntu noble-updates/universe arm64 Packages
Ign:38 http://ubuntu.macarne.com/ubuntu noble-security/main arm64 Packages
Ign:41 http://ubuntu.macarne.com/ubuntu noble-security/universe arm64 Packages
37% [Waiting for headers] 3860 kB/s 20sE: Transaction http://ubuntu.macarne.com/ubuntu/dists/noble/InRelease was already aborted and is aborted again
Err:13 http://ubuntu.macarne.com/ubuntu noble/universe arm64 Packages
404 Not Found [IP: 2602:2ea::93 443]
Err:30 http://ubuntu.macarne.com/ubuntu noble-updates/main arm64 Packages
404 Not Found [IP: 2602:2ea::93 443]
37% [Waiting for headers] 3860 kB/s 20sE: Transaction http://ubuntu.macarne.com/ubuntu/dists/noble-updates/InRelease was already aborted and is aborted again
Err:33 http://ubuntu.macarne.com/ubuntu noble-updates/universe arm64 Packages
404 Not Found [IP: 2602:2ea::93 443]
Err:38 http://ubuntu.macarne.com/ubuntu noble-security/main arm64 Packages
404 Not Found [IP: 2602:2ea::93 443]
E: Transaction http://ubuntu.macarne.com/ubuntu/dists/noble-security/InRelease was already aborted and is aborted again
Err:41 http://ubuntu.macarne.com/ubuntu noble-security/universe arm64 Packages
404 Not Found [IP: 2602:2ea::93 443]
Reading package lists... Done
E: Transaction http://ubuntu.macarne.com/ubuntu/dists/noble/InRelease was already aborted and is aborted again
E: Transaction http://ubuntu.macarne.com/ubuntu/dists/noble-updates/InRelease was already aborted and is aborted again
E: Transaction http://ubuntu.macarne.com/ubuntu/dists/noble-security/InRelease was already aborted and is aborted again
#
# apt-get install gimp
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package gimp
#
如果我尝试使用“https://ports.ubuntu.com/ubuntu/”那么:
# apt-get clean
# apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
Ign:2 https://ports.ubuntu.com/ubuntu noble InRelease
Ign:3 https://ports.ubuntu.com/ubuntu noble-updates InRelease
Ign:4 https://ports.ubuntu.com/ubuntu noble-backports InRelease
Ign:5 https://ports.ubuntu.com/ubuntu noble-security InRelease
Ign:2 https://ports.ubuntu.com/ubuntu noble InRelease
Ign:3 https://ports.ubuntu.com/ubuntu noble-updates InRelease
Ign:4 https://ports.ubuntu.com/ubuntu noble-backports InRelease
Ign:5 https://ports.ubuntu.com/ubuntu noble-security InRelease
Ign:2 https://ports.ubuntu.com/ubuntu noble InRelease
Ign:3 https://ports.ubuntu.com/ubuntu noble-updates InRelease
Ign:4 https://ports.ubuntu.com/ubuntu noble-backports InRelease
Ign:5 https://ports.ubuntu.com/ubuntu noble-security InRelease
Err:2 https://ports.ubuntu.com/ubuntu noble InRelease
Could not connect to ports.ubuntu.com:443 (2620:2d:4000:1::19). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (185.125.190.39). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (2620:2d:4000:1::16). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (185.125.190.36). - connect (111: Connection refused)
Err:3 https://ports.ubuntu.com/ubuntu noble-updates InRelease
Unable to connect to ports.ubuntu.com:https:
Err:4 https://ports.ubuntu.com/ubuntu noble-backports InRelease
Unable to connect to ports.ubuntu.com:https:
Err:5 https://ports.ubuntu.com/ubuntu noble-security InRelease
Unable to connect to ports.ubuntu.com:https:
Reading package lists... Done
W: Failed to fetch https://ports.ubuntu.com/ubuntu/dists/noble/InRelease Could not connect to ports.ubuntu.com:443 (2620:2d:4000:1::19). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (185.125.190.39). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (2620:2d:4000:1::16). - connect (111: Connection refused) Could not connect to ports.ubuntu.com:443 (185.125.190.36). - connect (111: Connection refused)
W: Failed to fetch https://ports.ubuntu.com/ubuntu/dists/noble-updates/InRelease Unable to connect to ports.ubuntu.com:https:
W: Failed to fetch https://ports.ubuntu.com/ubuntu/dists/noble-backports/InRelease Unable to connect to ports.ubuntu.com:https:
W: Failed to fetch https://ports.ubuntu.com/ubuntu/dists/noble-security/InRelease Unable to connect to ports.ubuntu.com:https:
W: Some index files failed to download. They have been ignored, or old ones used instead.
# apt-get install gimp
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package gimp
#
更新:即使使用普通 https 也是 404
# apt-get clean
# apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
Ign:2 http://ports.ubuntu.com/ubuntu noble InRelease
Ign:3 http://ports.ubuntu.com/ubuntu noble-updates InRelease
Ign:4 http://ports.ubuntu.com/ubuntu noble-backports InRelease
Ign:5 http://ports.ubuntu.com/ubuntu noble-security InRelease
Err:6 http://ports.ubuntu.com/ubuntu noble Release
404 Not Found [IP: 185.125.190.36 80]
Err:7 http://ports.ubuntu.com/ubuntu noble-updates Release
404 Not Found [IP: 185.125.190.36 80]
Err:8 http://ports.ubuntu.com/ubuntu noble-backports Release
404 Not Found [IP: 185.125.190.36 80]
Err:9 http://ports.ubuntu.com/ubuntu noble-security Release
404 Not Found [IP: 185.125.190.36 80]
Reading package lists... Done
E: The repository 'http://ports.ubuntu.com/ubuntu noble Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ports.ubuntu.com/ubuntu noble-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ports.ubuntu.com/ubuntu noble-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ports.ubuntu.com/ubuntu noble-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
#
更新:Paul Collins 通过 RT:
端口存储库的 URL 如下: http://ports.ubuntu.com/ubuntu-ports
但是更新之后,情况还是很糟糕..https://pastebin.com/raw/wRqdNN1S与默认安装后相同的 404 问题
答案1
ARM64
在主存储库中不存在。它在端口存储库。
主档案库中只有amd64
和架构。在源声明中使用而不是。然后它应该会表现良好。i386
ports.ubuntu.com
archive.ubuntu.com