Debian 5.0 (lenny) apt 源失败?

trn*_*rnc 19 debian debian-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]
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?


编辑:

我目前的来源是:

# 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
Run Code Online (Sandbox Code Playgroud)

小智 38

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

deb http://archive.debian.org/debian/ lenny contrib main non-free
Run Code Online (Sandbox Code Playgroud)


thi*_*ton 28

lenny 被 取代squeeze其生命周期于今年 2 月 6 日结束。您不会从核心 Debian 社区获得lenny.

选项:

  1. 升级到squeeze.
  2. 随时关注lenny,请从Debian的FTP服务器sources.list,并保持包装,因为它们。不会有安全更新。
  3. 固定 ( man apt_preferences) 必要的软件包lenny并执行部分升级,或固定所有软件包lenny并根据需要执行升级。给您留下一个部分系统,您可能会遇到各种错误,但如果升级和保持原样都不是选项,则可能是必要的。

  • @Tronic:使用固定(`man apt_preferences`)从 lenny 固定你需要的包,或者将整个系统固定到 lenny 并从挤压中选择性地安装 postfix。在没有安全支持的情况下保留像 postfix 这样的巨大且面向 Internet 的包是不明智的。 (3认同)
  • @Tronic:那么你将不得不在没有安全团队的情况下生活,这对于后端服务器来说是可以的。您现在可以删除更新 cron 作业并从 sources.list 中删除大部分行。如果 `squeeze` 的维护者不知道不兼容的 RAID 驱动程序,请提交错误报告。 (2认同)

ptm*_*man 14

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