AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-1787175

peterK88's questions

Martin Hope
peterK88
Asked: 2024-05-06 21:29:12 +0800 CST

Repo 404 问题:ARM64 上的 Ubuntu 24.04 LTS (Raspberry Pi 5)

  • 6
  1. 将带有 rpi-imager 的 Ubuntu 24.04 LTS 写入 USB SSD。
  2. 它安装正常,可以在插入 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
# 

如果我使用适用于 ARM 的 ports.ubuntu.com 的替代存储库中的 find_mirros 脚本吗?那么最好的看起来像“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:

ports 存储库的 URL 如下: http://ports.ubuntu.com/ubuntu-ports

但更新后,它仍然很糟糕.. https://pastebin.com/raw/wRqdNN1S与默认安装后相同的 404 问题

software-sources
  • 2 个回答
  • 145 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve