Debian

Debian 5.0 (lenny) apt 源失敗?

  • January 17, 2017

在過去的幾天裡,我無法在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

lenny 被 取代squeeze,其 生命 週期 於 今年 2 月 6 日 結束. 您不會從核心 Debian 社區獲得lenny.

選項:

  1. 升級到squeeze.
  2. 留下來lenny,刪除 Debian FTP 伺服器sources.list並保持包原樣。不會有安全更新。
  3. man apt_preferences將必要的包固定 ( )lenny並執行部分升級,或將所有包固定到lenny並根據需要執行升級。給您留下部分系統,您可能會遇到各種錯誤,但如果升級或保持原樣都不是選項,則可能是必要的。

引用自:https://serverfault.com/questions/373314