Install Software on Old Ubuntu – Unsupported Version (2009 Jaunty)

Ubuntuubuntu-9.04

I have a software development box with Ubuntu Jaunty Jackalope installed. I know this version is from 2009, but it is a development box with strict requirements, so I cannot update the OS to a newer version of Ubuntu.

I cannot install new software for this version because Jaunty is no longer supported. That is, none of the Ubuntu software servers carry Jaunty anymore. For example, http://us.archive.ubuntu.com/ubuntu/dists/jaunty/ does not exist anymore. So apt-get doesn't work.

What can I do? Is there a Jaunty archive server, and how can I point apt-get to that server?

I am a Solaris/Windows user, by the way.

Best Answer

You can use the old-releases url:

http://old-releases.ubuntu.com/ubuntu/

Old-releases includes everything that isn't officially supported anymore. Just replace us.archive and security with old-releases in /etc/apt/sources.list and you should be good to go!

Note that you can also have sources from different versions of Ubuntu in you sources.list file (in fact, in the bad old days updating to the newest release meant manually replacing warty with hoary and running dist-upgrade).

So if you really need to, you can grab newer versions of packages from more recent releases without updating the whole OS.

EDIT: More detailed example. Assuming the file found here is your sources.list file, you could do something like:

$ sudo vi /etc/apt/sources.list

Inside VI

:%s/archive/old-releases/g
:%s/cl\.//g
:wq

Use us instead of cl if that's what's in your file.

Then run

$ sudo apt-get update
$ sudo apt-get upgrade

The first will update your sources based on your edited sources.list file. The second will upgrade all packages on your system to the newest version that Jaunty used before support ended (you'll be asked for confirmation first).

Related Question