Sunday, 20 December 2015

Howto upgrade Ubuntu that is no longer supported.

Adapted from

1) Edit apt sources to use "old releases" repositories.
sudo sed -i -e 's/\|' /etc/apt/sources.list
But your sources.list file may contain other repositories that have, for me, prevented this process from working.

a) Manually edit /etc/apt/sources.list and comment out these entries

deb-src ...

and comment out any other repositories that were not converted to

b) Change any country specific URLs to 'US' versions

eg. to

2) Update packages

sudo apt-get update
sudo apt-get dist-upgrade

3) Upgrade Ubuntu version

sudo do-release-upgrade -d