Debian 5.0 (lenny) apt sources fail?

47,446

Solution 1

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.

Options:

  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.

Solution 2

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

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

Solution 3

archive.debian.org has the package repositories of all EOLd debian releases

Share:
47,446

Related videos on Youtube

trnc
Author by

trnc

Updated on June 17, 2022

Comments

  • trnc
    trnc less than a minute

    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 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]
    

    How do I fix this problem?


    Edit:

    My current sources are:

    # 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
    
    • René Höhle
      René Höhle about 10 years
      Can you post your entrys in your /etc/apt/sources.list?
    • trnc
      trnc about 10 years
      please see edit!
    • René Höhle
      René Höhle about 10 years
      Yes ;) thx but i think the Answer from @thiton is the problem.
  • adamo
    adamo about 10 years
    Exactly! Time to upgrade :)
  • trnc
    trnc about 10 years
    i can't upgrade atm, because there's a raid driver which is incompatible to squeeze...
  • thiton
    thiton about 10 years
    @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.
  • trnc
    trnc about 10 years
    i just need to install postfix... so should i just use the proper .deb package for installation?
  • thiton
    thiton about 10 years
    @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.
  • Christopher Cashell
    Christopher Cashell about 10 years
    Update to the above answer . . . Debian 5.0.10 "Lenny" was released on March 10, 2012, per the Debian Release Page for "Lenny". This is reflected in the ChangeLog for this release, too.
  • holms
    holms over 9 years
    can you give normal instructions in command??? i can't find any working repository for lenny at all.. and that's the only place where freaking php52 iS!