尝试将 xubuntu 14.04 更新至 16.04 时出现 404 获取错误

尝试将 xubuntu 14.04 更新至 16.04 时出现 404 获取错误

当我使用此命令时,sudo do-release-upgrade我总是收到以下错误

Err http://us.archive.ubuntu.com xenial/universe Sources                                                                                            

Err http://us.archive.ubuntu.com xenial/universe amd64 Packages                                                                                     

Err http://us.archive.ubuntu.com xenial/universe i386 Packages                                                                                      

Err http://us.archive.ubuntu.com xenial/universe Sources                                                                                            
  404  Not Found [IP: 91.189.91.26 80]                                                                                                              
Err http://us.archive.ubuntu.com xenial/universe amd64 Packages                                                                                     
  404  Not Found [IP: 91.189.91.26 80]                                                                                                              
Err http://us.archive.ubuntu.com xenial/universe i386 Packages                                                                                      
  404  Not Found [IP: 91.189.91.26 80]                                                                                                              
Fetched 2.874 kB in 6s (0 B/s)                                                                                                                      

Error during update 

A problem occurred during the update. This is usually some sort of 
network problem, please check your network connection and retry. 

W:Failed to fetch 
http://us.archive.ubuntu.com/ubuntu/dists/xenial/universe/source/Sources 
404 Not Found [IP: 91.189.91.26 80] 
, W:Failed to fetch 
http://us.archive.ubuntu.com/ubuntu/dists/xenial/universe/binary-amd64/Packages 
404 Not Found [IP: 91.189.91.26 80] 
, W:Failed to fetch 
http://us.archive.ubuntu.com/ubuntu/dists/xenial/universe/binary-i386/Packages 
404 Not Found [IP: 91.189.91.26 80] 
, E:Some index files failed to download. They have been ignored, or 
old ones used instead. 

答案1

就我而言,从默认/当前镜像访问一个特定文件的速度非常慢。

wget http://us.archive.ubuntu.com/ubuntu/dists/xenial/universe/binary-amd64/Packages.xz

我测试了一个一堆镜子并使用了快速而有效的方法。

相关内容