Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For the past few days, I couldn't update our apt-sources on Debian 5.0 (lenny). I get the following errors.

W: Failed to fetch  404 Not Found [IP: 80]

W: Failed to fetch  404 Not Found [IP: 80]

W: Failed to fetch  404 Not Found [IP: 80]

W: Failed to fetch  404 Not Found [IP: 80]

W: Failed to fetch  404 Not Found [IP: 80]

W: Failed to fetch  404 Not Found [IP: 80]

How do I fix this problem?


My current sources are:

# Debian Lenny
deb lenny main non-free contrib  
deb-src lenny main non-free contrib  

# Debian Lenny Non-US
deb lenny/non-US main contrib non-free  
deb-src lenny/non-US main contrib non-free

# Debian Lenny Security
deb lenny/updates main contrib non-free
share|improve this question
Can you post your entrys in your /etc/apt/sources.list? – Stony Mar 26 '12 at 7:18
please see edit! – Tronic Mar 26 '12 at 7:24
Yes ;) thx but i think the Answer from @thiton is the problem. – Stony Mar 26 '12 at 7:24
up vote 26 down vote accepted

lenny is superseded by squeeze, and its lifecycle ended on Feb. 6th this year. You'll get no updates from the core Debian community for lenny.


  1. Upgrade to squeeze.
  2. Stay with lenny, remove the Debian FTP servers from sources.list and keep the packages as they are. There will be no security updates.
  3. Pin (man apt_preferences) necessary packages down to lenny and perform a partial upgrade, or pin all packages down to lenny and perform upgrades as needed. Leaves you with a partial system, and you are likely to get all kinds of errors, but might be necessary if neither upgrade nor keep-as-is are options.
share|improve this answer
Exactly! Time to upgrade :) – adamo Mar 26 '12 at 7:20
i can't upgrade atm, because there's a raid driver which is incompatible to squeeze... – Tronic Mar 26 '12 at 7:24
@Tronic: Then you'll have to live without a security team, which can be OK for backend servers. You can drop the updating cron job now and remove most lines from sources.list. If the maintainers of squeeze are not aware of the incompatible RAID driver, file a bug report. – thiton Mar 26 '12 at 7:26
i just need to install postfix... so should i just use the proper .deb package for installation? – Tronic Mar 26 '12 at 7:44
@Tronic: Use pinning (man apt_preferences) to pin the packages you need from lenny, or to pin the whole system to lenny and install postfix selectively from squeeze. It would be unwise to keep a huge and internet-facing package like postfix without security support. – thiton Mar 26 '12 at 7:50

You can use the following sources until you upgrade your system:

deb lenny contrib main non-free
share|improve this answer has the package repositories of all EOLd debian releases

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.