Accessing end-of-life’d Ubuntu packages

Sometimes it’s necessary to keep a server running an end-of-life’d version of Ubuntu breathing just a bit longer. Because Canonical removes old packages from http://archive.ubuntu.com/ubuntu/, apt-get install will spew out messages like:

Err http://archive.ubuntu.com karmic-updates/main libpam0g 1.1.0-2ubuntu1.1
404 Not Found [IP: 91.189.88.45 80]

You can update /etc/apt/sources.list to use the URL http://old-releases.ubuntu.com/ubuntu/ instead of http://archive.ubuntu.com/ubuntu/ and get to those packages.

Note, old versions of Ubuntu no longer receive security updates, so upgrading is the best way to go.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s