![尝试将 xubuntu 14.04 更新至 16.04 时出现 404 获取错误](https://linux22.com/image/891179/%E5%B0%9D%E8%AF%95%E5%B0%86%20xubuntu%2014.04%20%E6%9B%B4%E6%96%B0%E8%87%B3%2016.04%20%E6%97%B6%E5%87%BA%E7%8E%B0%20404%20%E8%8E%B7%E5%8F%96%E9%94%99%E8%AF%AF%20.png)
当我使用此命令时,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
我测试了一个一堆镜子并使用了快速而有效的方法。