0

I have to work with a Lenny VM, and I can't get apt-get to work. I already changed source.list to use archive repositories which let download some files via apt-get update, but not all. I keep getting errors such as :

W: Failed to fetch http://archive.debian.org/debian/dists/lenny/main/binary-i386/Packages  404 Not Found

I verified my proxy by using it in a Debian 8 VM and it works. Is there something else I need to configure ? Where can the problem come from ?

Edit: Here is the content of /etc/apt/source.list:

deb http://archive.debian.org/debian/ lenny main contrib non-free
deb-src http://archive.debian.org/debian/ lenny main contrib non-free
6
  • 4
    Lenny was EOL'ed four years ago: no wonder it is 404'ing...
    – jasonwryan
    Commented Jun 7, 2016 at 9:10
  • Isn't archive.debian.org supposed to give access to repositories for old distributions ?
    – Kromoz0hm
    Commented Jun 7, 2016 at 9:14
  • edit your question and post output of cat /etc/apt/sources.list ?
    – Rahul
    Commented Jun 7, 2016 at 9:21
  • It's done now .
    – Kromoz0hm
    Commented Jun 7, 2016 at 9:27
  • When you are behind a proxy, do you have apt configured to use it?
    – Max
    Commented Jun 7, 2016 at 9:38

1 Answer 1

1

Have a look at http://archive.debian.org/debian/dists/lenny/.

There are only 3 folders

  • contrib
  • main
  • non-free

Updates does not exist (anymore). Change your source.list so that it only contains main and optional contrib and nonfree and try again.

1
  • I edited my question, I already only use the 3 folders you listed.
    – Kromoz0hm
    Commented Jun 7, 2016 at 9:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .