Ubuntu 13.04 Raring Ringtail still getting updates

Ubuntu 13.04 (Raring Ringtail) has reached EOL (End-Of-Life) and

packages have been removed from the Ubuntu Official Repos. I tried to update, I got the following error

Ign http://ports.ubuntu.com raring Release.gpg
Ign http://ports.ubuntu.com raring-updates Release.gpg
Ign http://ports.ubuntu.com raring Release
Ign http://ports.ubuntu.com raring-updates Release
Err http://ports.ubuntu.com raring/main Sources 404 Not Found
Err http://ports.ubuntu.com raring/universe Soures 404 Not Found
Err http://ports.ubuntu.com raring/multiverse Sources 404 Not Found
Err http://ports.ubuntu.com raring/main armhf Packages 404 Not Found
Err http://ports.ubuntu.com raring/universe armhf Packages 404 Not Found
Err http://ports.ubuntu.com raring/multiverse armhf Packages 404 Not Found
Ign http://ports.ubuntu.com raring/main Translation-en_US
Ign http://ports.ubuntu.com raring/main Translation-en
Ign http://ports.ubuntu.com raring/multiverse Translation-en_US
Ign http://ports.ubuntu.com raring/multiverse Translation-en
Ign http://ports.ubuntu.com raring/universe Translation-en_US
Ign http://ports.ubuntu.com raring/universe Translation-en
Err http://ports.ubuntu.com raring-updates/main Sources 404 Not Found
Err http://ports.ubuntu.com raring-updates/universe Sources 404 Not Found
Err http://ports.ubuntu.com raring-updates/multiverse Sources 404 Not Found
Err http://ports.ubuntu.com raring-updates/main armhf Packages 404 Not Found
Err http://ports.ubuntu.com raring-updates/universe armhf Packages 404 Not Found
Err http://ports.ubuntu.com raring-updates/multiverse armhf Packages 404 Not Found
Ign http://ports.ubuntu.com raring-updates/main Translation-en_US
Ign http://ports.ubuntu.com raring-updates/main Translation-en
Ign http://ports.ubuntu.com raring-updates/multiverse Translation-en_US
Ign http://ports.ubuntu.com raring-updates/multiverse Translation-en
Ign http://ports.ubuntu.com raring-updates/universe Translation-en_US
Ign http://ports.ubuntu.com raring-updates/universe Translation-en
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring/main/source/Sources 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring/universe/source/Sources 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring/multiverse/source/Sources 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring/main/binary-armhf/Packages 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring/universe/binary-armhf/Packages 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring/multiverse/binary-armhf/Packages 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring-updates/main/source/Sources 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring-updates/universe/source/Sources 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring-updates/multiverse/source/Sources 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring-updates/main/binary-armhf/Packages 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring-updates/universe/binary-armhf/Packages 404 Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/raring-updates/multiverse/binary-armhf/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

I tried to find packages on other sites. I found that the EOL release packages are moved in old-releases.ubuntu.com

You edit the /etc/apt/sources.list file. Remove the previous line and insert the following new lines:

sudo nano /etc/apt/sources.list

deb http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse

deb http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse

deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse

deb http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse

then save the file

sudo apt-get update.

The concept is valid for each release passed in EOL. it’s enough to substitute the name of release /etc/apt/sources.list file (in our case it is raring)

I  hope you this blog is helpful for you 😀