Debian 5.0(lenny)apt源失败?

在过去的几天里,我无法更新Debian 5.0 (lenny)上的apt-sources。 我得到以下错误。

W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/main/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/contrib/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/non-free/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/main/source/Sources 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/contrib/source/Sources 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/lenny/non-free/source/Sources 404 Not Found [IP: 130.89.148.12 80] 

我该如何解决这个问题?


编辑:

我目前的来源是:

 # Debian Lenny deb http://ftp.de.debian.org/debian/ lenny main non-free contrib deb-src http://ftp.de.debian.org/debian/ lenny main non-free contrib # Debian Lenny Non-US deb http://non-us.debian.org/debian-non-US lenny/non-US main contrib non-free deb-src http://non-us.debian.org/debian-non-US lenny/non-US main contrib non-free # Debian Lenny Security deb http://security.debian.org/ lenny/updates main contrib non-free 

lennysqueeze取代 , 其生命周期在今年2月6日结束 。 lenny核心Debian社区没有更新。

选项:

  1. 升级squeeze
  2. 留在lenny ,从sources.list删除Debian FTP服务器,并保持它们的包。 将不会有安全更新。
  3. 将pin( man apt_preferences )必需的包man apt_preferenceslenny并执行部分升级,或者将所有包lennylenny并根据需要执行升级。 留给你一个部分系统,你很可能会遇到各种各样的错误,但如果既不升级也不保留是可能的。

在升级系统之前,您可以使用以下来源:

 deb http://archive.debian.org/debian/ lenny contrib main non-free 

archive.debian.org拥有所有EOLd debian版本的软件包仓库

如果甚至是文件http://archive.debian.org/debian_dists/Debian-5.0/main/source/Sources.gz中的软件包列表不完整,你如何才能下载所需的源码包。 您需要对所需的源代码包进行全部扩展:_ .diff.gz,_ .dsc,_ *。orig.tar.gz

但是,对于farse存在的扩展名_ .debian.tar.gz,_ .tar.gz(没有orig)和一些包被完全删除http://archive.debian.org/debian/pool所以没有什么奇怪的apt或任何其他包pipe理器不能下载它们。 所以即使手动你也不能下载它们,因为Debian的旧版本没有完整的版本库或镜像。

您可以尝试写入不仅在Debian,Ubuntu,而且在整个Linux中负责这些“创意”的作品,或尝试find旧的CD / DVD或计算机,并从中提取所需的软件包。