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
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[software-sources](ubuntu)

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
Martin Hope
user3450148
Asked: 2022-06-28 12:12:03 +0800 CST

IBM Lotus Symphony 今天在哪里?

  • 6

这个问题来自 LibreOffice 论坛上的错误报告。是的,我知道 Lotus Symphony 的大部分功能都应该在 LO 分离时被合并到 OO 中。这个问题不是关于那个。我正在寻找拥有实际 .deb 副本的人。它不再在我的 NAS 上。是的,我已经设置了 8.04 32 位 LTS、12 和其他一些“老式”32 位(IBM 仅发布 32 位 Debian)。我这样做是因为这个。

https://ubuntu.com/blog/ubuntu-804-lts-whole-load-of-apps-going-on

我们还将提供 IBM Lotus Symphony,打包后可以通过 Ubuntu 添加/删除软件工具轻松安装。Symphony 是 IBM 接受免费和开放替代无处不在的 Microsoft Office 的驱动程序。

是的,我已经编辑了 sources.list 并指向 http://old-releases.ubuntu.com/ubuntu/dists/ 的所有主要条目。似乎不存在任何“合作伙伴”软件的“旧版本”目录。

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu lucid partner
# deb-src http://archive.canonical.com/ubuntu lucid partner

所以,这个问题分为两部分。

  1. 今天是否有适用于 8.04 或 10.4 的“archive.canonical.com”?IBM Lotus Symphony 是为安​​装程序停放的吗?
  2. 有人有来自其中一个版本的 .deb 吗?

谢谢你。

software-sources
  • 1 个回答
  • 1280 Views
Martin Hope
dschinn1001
Asked: 2021-05-25 09:03:07 +0800 CST

Hirsute Hippo (21.04) 的 sources.list 看起来如何?

  • 1

请问有人可以在这里张贴多毛河马的sources.list吗?

我知道这取决于互联网连接(WLAN 还是电缆?)。

这可能会有所不同。

我对数据连接的差异感兴趣。

software-sources
  • 2 个回答
  • 13901 Views
Martin Hope
shinobody
Asked: 2021-03-19 00:30:03 +0800 CST

source.list 中的错字?

  • 0

当我尝试使用 apt 添加存储库时,我收到一条消息,说明 sources.list 中可能存在拼写错误,说它没有找到“重新限制”的组件。我手动编辑了所有这些行以说“受限制”(当然是在备份原始版本之后) - 这修复了它,只是为了遇到不同的错字。

W: Skipping acquire of configured file 'partner/source/Sources' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partner' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/binary-amd64/Packages' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/binary-i386/Packages' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/i18n/Translation-en_US' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/i18n/Translation-en' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/Components-amd64.yml' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/icons-48x48.tar' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/icons-64x64.tar' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/dep11/[email protected]' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'partnet/cnf/Commands-amd64' as repository 'http://archive.ubuntu.com/ubuntu focal InRelease' doesn't have the component 'partnet' (component misspelt in sources.list?)

我假设“合作伙伴”应该是“合作伙伴”,但第一行证明情况并非如此,因为它也找不到组件“合作伙伴”。解决这个问题是否值得,或者没有它,存储库将正常工作?

有什么办法可以检查这实际上应该说什么?

apt software-sources
  • 1 个回答
  • 178 Views
Martin Hope
Sun Bear
Asked: 2020-09-01 09:48:20 +0800 CST

应用程序“软件和更新”没有响应

  • 4

单击“软件和更新”应用程序后,我似乎无法显示它。我不知道为什么。它的图标出现在快捷方式中。激活此应用程序的终端命令是什么?

我试过这个答案:“软件更新程序”和“软件和更新”不起作用,但它不起作用。

$ uname -a
Linux Ubuntu 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

$ gnome-shell --version
GNOME Shell 3.28.4

$ software-properties-gtk
ERROR:dbus.proxies:Introspect error on :1.228:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
Traceback (most recent call last):
  File "/usr/bin/software-properties-gtk", line 100, in <module>
    app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
  File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 173, in __init__
    self.backend.Reload();
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.228 was not provided by any .service files

我也有与 Ubuntu 18.04 software-properties-gtk 相同的 msgs失败 org.freedesktop.DBus.Error.ServiceUnknown。我使用 Synaptic 重新安装此答案python3-size中提到的软件包,但无济于事。

我也尝试过这里software-properties-gtk提到的清除和重新安装,但无济于事。

更新1:

我想知道setuptools.pyver 50.0 是否破坏了软件-属性-gtk 的连接?我知道系统昨天从版本 42.0.2 升级了这个。我刚刚发现22 小时前提出的这个 GitHub 问题“ setuptools 50 breaks pip installation ”。我已经卸载了它,但没有用。

更新 2:在终端中 使用journalctl -ecmd,我发现了这个错误消息:

Oct 04 08:22:14 Prime dbus-daemon[1303]: [system] Activating service name='com.ubuntu.SoftwareProperties' requested by ':1.157' (uid=1000 pid=10808 comm="/usr/bin/python3 /usr/bin/soft
Oct 04 08:22:14 Prime com.ubuntu.SoftwareProperties[1303]: Unable to init server: Could not connect: Connection refused
Oct 04 08:22:14 Prime com.ubuntu.SoftwareProperties[1303]: Unable to init server: Could not connect: Connection refused
Oct 04 08:22:14 Prime dbus-daemon[1303]: [system] Successfully activated service 'com.ubuntu.SoftwareProperties'
Oct 04 08:22:14 Prime com.ubuntu.SoftwareProperties[1303]: Traceback (most recent call last):
Oct 04 08:22:14 Prime com.ubuntu.SoftwareProperties[1303]:   File "/usr/lib/software-properties/software-properties-dbus", line 68, in <module>
Oct 04 08:22:14 Prime com.ubuntu.SoftwareProperties[1303]:     server = SoftwarePropertiesDBus(bus, datadir=datadir)
Oct 04 08:22:14 Prime com.ubuntu.SoftwareProperties[1303]:   File "/usr/lib/python3/dist-packages/softwareproperties/dbus/SoftwarePropertiesDBus.py", line 66, in __init__
Oct 04 08:22:14 Prime com.ubuntu.SoftwareProperties[1303]:     self._livepatch_service = LivepatchService()
Oct 04 08:22:14 Prime com.ubuntu.SoftwareProperties[1303]:   File "/usr/lib/python3/dist-packages/softwareproperties/LivepatchService.py", line 93, in __init__
Oct 04 08:22:14 Prime com.ubuntu.SoftwareProperties[1303]:     self._session = requests_unixsocket.Session()
Oct 04 08:22:14 Prime com.ubuntu.SoftwareProperties[1303]: NameError: name 'requests_unixsocket' is not defined

此外,python 包“requests_unixsocket”安装在系统中(见下文)。因此我不明白错误消息NameError: name 'requests_unixsocket' is not defined:

$ pip list | grep requests
requests                2.24.0
requests-unixsocket     0.1.5
WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
$ pip3 list | grep requests
requests                2.24.0
requests-unixsocket     0.1.5
WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
$ pip3 list --user | grep requests
requests            2.24.0
WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.

我试图明确导入 requests_unixsocket 。有用。见下文。

Python 3.6.9 (default, Jul 17 2020, 12:50:27) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license()" for more information.
>>> import requests_unixsocket
>>> a = requests_unixsocket.Session()
>>> a
<requests_unixsocket.Session object at 0x7fb103952470>

我不明白为什么我可以导入包但/usr/lib/python3/dist-packages/softwareproperties/LivepatchService.py看不到它。它确实存在:

$ ls /usr/lib/python3/dist-packages/ | grep request
requests_unixsocket
requests_unixsocket-0.1.5.egg-info
software-sources 18.04
  • 2 个回答
  • 1102 Views
Martin Hope
zhangheng07
Asked: 2020-08-11 01:41:09 +0800 CST

在 apt 源代码中使用更新的 Ubuntu 版本的代号有什么后果?

  • 1

如果我使用的是 Ubuntu 18.04 Bionic Beaver,但我在 apt 源中配置了groovy (20.10),安装软件会不会有问题?如果某个软件安装正常,以后会不会有什么风险?

software-installation repository apt software-sources
  • 1 个回答
  • 134 Views
Martin Hope
UnKNOWn
Asked: 2020-08-09 20:47:12 +0800 CST

“软件和更新”应用程序中的“-”符号是什么意思

  • 1

安装了 Ubuntu 20.04,我的意思是它的全新安装..

打开“软件和更新”应用程序。选择“源代码”。我注意到我选择的“源代码”选项是-符号。上面的其他都是刻度线..

那么与带有“开箱即用刻度线”的手动选择的“源代码”选项有什么不同吗?

在此处输入图像描述

如果有差异,如何使其与开箱即用的刻度线一致?

software-sources
  • 1 个回答
  • 61 Views
Martin Hope
Juan
Asked: 2020-07-01 14:14:55 +0800 CST

擦除 /etc/apt/sources.list.d 文件夹文件是否安全

  • 2

我正在使用Ubuntu Studio 20.04 LTS,从18.04升级,从16.04 LTS升级。

因为一些问题(与这个问题无关),我发现我有一个名为/etc/apt/sources.list.d

在哪里我可以找到很多引用旧 Ubuntu Studio 版本(eoan和bionic)的文件。

我可以安全地删除所有这些文件吗?

repository apt software-sources
  • 1 个回答
  • 781 Views
Martin Hope
userDepth
Asked: 2020-06-03 04:30:12 +0800 CST

如何清除 WineHQ PPA?添加后不会出现在来源中

  • 0

Kubuntu 20.04 64 位,带有一些游戏应用程序的全新安装。

ls -al /etc/apt/sources.list.d/
total 32
drwxr-xr-x 2 root root 4096 jun  2 08:04 .
drwxr-xr-x 7 root root 4096 jun  2 08:04 ..
-rw-r--r-- 1 root root   71 jun  2 08:04 amdvlk.list
-rw-r--r-- 1 root root   71 jun  2 08:04 amdvlk.list.save
-rw-r--r-- 1 root root  128 jun  2 08:04 ernstp-ubuntu-mesarc-focal.list
-rw-r--r-- 1 root root  128 jun  2 08:04 ernstp-ubuntu-mesarc-focal.list.save
-rw-r--r-- 1 root root  138 jun  2 08:04 lutris-team-ubuntu-lutris-focal.list
-rw-r--r-- 1 root root  138 jun  2 08:04 lutris-team-ubuntu-lutris-focal.list.save

wine --version
wine-5.9 (Staging)

正如您在添加 WineHQ PPA 后看到的那样,它不会出现在源代码中,因此我可以删除软件源代码。用ppa-purge打 TAB找不到 PPA

ppa-purge 
-d                  ernstp/mesarc       -h                  -i                  lutris-team/lutris  -o                  -p                  -s                  -y  
ppa apt software-sources purge
  • 1 个回答
  • 387 Views
Martin Hope
Panas Tiwari
Asked: 2020-05-29 19:55:09 +0800 CST

security.ubuntu.com 存储库没有发布文件

  • -1

sudo apt updateUbuntu 20.04 中的输出:

Ign:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://np.archive.ubuntu.com/ubuntu focal InRelease                
Hit:3 http://np.archive.ubuntu.com/ubuntu focal-updates InRelease        
Hit:4 http://np.archive.ubuntu.com/ubuntu focal-backports InRelease      
Err:5 http://security.ubuntu.com/ubuntu focal-security Release 404 Not Found [IP: 110.44.112.44 80]
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease     
Hit:7 http://ppa.launchpad.net/micahflee/ppa/ubuntu focal InRelease

Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu focal-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.

/etc/apt/sources.list和软件和更新没有这个 ppa。

package-management updates ppa software-sources 20.04
  • 1 个回答
  • 934 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