这是我的/etc/apt/sources.list
###### Debian Main Repos
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
###### Debian Update Repos
deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ lenny-proposed-updates main contrib non-free当我这么做时:
# apt-get update我得到了一些好的台词,然后:
Err http://ftp.us.debian.org lenny/contrib Packages
404 Not Found [IP: 35.9.37.225 80]
Err http://ftp.us.debian.org lenny/non-free Packages
404 Not Found [IP: 35.9.37.225 80]
Err http://ftp.us.debian.org lenny-proposed-updates/main Packages
404 Not Found [IP: 35.9.37.225 80]
Err http://ftp.us.debian.org lenny-proposed-updates/contrib Packages
404 Not Found [IP: 35.9.37.225 80]
Err http://ftp.us.debian.org lenny-proposed-updates/non-free Packages
404 Not Found [IP: 35.9.37.225 80]
Err http://ftp.us.debian.org lenny/main Packages
404 Not Found [IP: 35.9.37.225 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/main/binary-i386/Packages 404 Not Found [IP: 149.20.20.6 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/contrib/binary-i386/Packages 404 Not Found [IP: 149.20.20.6 80]
W: Failed to fetch http://security.debian.org/dists/lenny/updates/non-free/binary-i386/Packages 404 Not Found [IP: 149.20.20.6 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny/contrib/binary-i386/Packages 404 Not Found [IP: 35.9.37.225 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny/non-free/binary-i386/Packages 404 Not Found [IP: 35.9.37.225 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny-proposed-updates/main/binary-i386/Packages 404 Not Found [IP: 35.9.37.225 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny-proposed-updates/contrib/binary-i386/Packages 404 Not Found [IP: 35.9.37.225 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny-proposed-updates/non-free/binary-i386/Packages 404 Not Found [IP: 35.9.37.225 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/lenny/main/binary-i386/Packages 404 Not Found [IP: 35.9.37.225 80]
E: Some index files failed to download, they have been ignored, or old ones used instead.发布于 2012-03-29 02:19:21
从一个小小的窥探,这似乎是一个问题的Debian镜子。根据镜像信息,lenny应该是可用的,尽管您可能需要在/etc/apt/sources.list中用'oldstable‘来更改'lenny’的每个实例。然而,拉出3面镜子都表明'lenny‘和'oldstable’不再被列出。
更新:我做了更多的探索,发现USC反射镜看起来仍然有'lenny‘的列表。注释掉sources.list中的现有条目,并将它们复制为:
deb http://ftp.us.debian.org/debian/代之以:
deb ftp://mirrors.usc.edu/pub/linux/distributions/debian/看看这是不是有用的。
幸运的是,这是一个暂时的问题,几天后就会解决。
更新2:看起来这不是暂时的,http://archive.debian.org是帮Lenny拉包的最好地方。此外,对Lenny的安全支持似乎在2012年2月12日结束,尽管他们在2012年3月10日发布了5.0.10版本,这是一个要点更新。
这可能是值得规划的升级,特别是对任何互联网/面向公众的服务器。
发布于 2012-03-29 09:48:28
修改您的/etc/apt/sources.list如下:
deb http://archive.debian.org/debian/ lenny main contrib non-free
deb-src http://archive.debian.org/debian/ lenny main contrib non-free
deb http://archive.debian.org/debian-security lenny/updates main contrib non-free
deb-src http://archive.debian.org/debian-security lenny/updates main contrib non-free
deb http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://archive.debian.org/debian-volatile lenny/volatile main contrib non-freehttps://serverfault.com/questions/374651
复制相似问题