无法获取存储库

无法获取存储库

可能重复:
如何安装软件或从旧的不受支持的版本升级?
如何使用 Ubuntu 档案修复 404 错误?

我在下载 Ubuntu 存储库时遇到了问题:

$ sudo apt-get update
...
Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/maverick/main/binary-amd64/Packages.gz
404  Not Found 

Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/maverick/restricted/binary-amd64/Packages.gz
404  Not Found
...

我可以正常连接到服务器:

# ping archive.ubuntu.com
PING archive.ubuntu.com (91.189.92.202) 56(84) bytes of data.
64 bytes from sudice.canonical.com (91.189.92.202): icmp_req=1 ttl=52 time=149 ms
64 bytes from sudice.canonical.com (91.189.92.202): icmp_req=2 ttl=52 time=149 ms
64 bytes from sudice.canonical.com (91.189.92.202): icmp_req=3 ttl=52 time=149 ms

--- archive.ubuntu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2001ms
rtt min/avg/max/mdev = 149.221/149.305/149.355/0.321 ms

这是我的来源列表:

deb http://archive.ubuntu.com/ubuntu maverick main restricted universe
deb http://archive.ubuntu.com/ubuntu maverick-updates main restricted universe 
deb http://archive.ubuntu.com/ubuntu maverick-security main restricted universe

和系统详细信息:

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.10
Release:    10.10
Codename:   maverick

有任何想法吗?

答案1

随着版本变旧(特别是如果它不是 LTS 版本),它将不再托管在 archive.ubuntu.com 上。但是,存储库仍然托管

http://old-releases.ubuntu.com

因此尝试将您的存储库源更改为http://old-releases.ubuntu.com

相关内容