Using Old Debian Versions In Your sources.list
Using Old Debian Versions In Your sources.listVersion 1.0 You might be in a situation where you have a sytem with an old Debian version that has reached end of life, like Etch, Sarge, Woody, etc., and a distribution upgrade is not an option for you (maybe because you have customized the system so much that you fear breaking the system by doing a distribution upgrade). The "normal" repositories for these old versions do not exist anymore, which means you cannot install new software or update existing packages using apt. This tutorial shows how you can modify your /etc/apt/sources.list to still get packages for your old Debian version using apt. I do not issue any guarantee that this will work for you!
1 Preliminary NotePlease don't get me wrong - I don't want to promote not upgrading your Debian system to the latest stable version - in fact, I do recommend to do this.! But sometimes life isn't just as easy as that, and there might be situations where an upgrade is not an option. For situations like these I provide this tutorial.
2 Modifying /etc/apt/sources.listAfter a Debian version has reached EOL (end of life), its repositories go to the Debian archive. Therefore we can use this archive to get packags for our distribution. The syntax for our /etc/apt/sources.list is as follows: deb http://archive.debian.org/debian/ <version> main non-free contrib deb http://archive.debian.org/debian-security/ <version>/updates main non-free contrib So for Debian Etch, you'd comment out all other repositories in /etc/apt/sources.list and add the following lines: vi /etc/apt/sources.list
Run apt-get update afterwards to update the packages database. If you get an error like W: There is no public key available for the following key IDs: just install the debian-archive-keyring package... apt-get install debian-archive-keyring ... and run apt-get update again.
3 Links
|




Recent comments
1 day 11 min ago
1 day 6 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 20 hours ago
2 days 6 hours ago
2 days 7 hours ago
2 days 10 hours ago
2 days 15 hours ago
2 days 15 hours ago