Skip to content

Instantly share code, notes, and snippets.

@bobisme
Last active December 15, 2015 12:39
Show Gist options
  • Save bobisme/5261956 to your computer and use it in GitHub Desktop.
Save bobisme/5261956 to your computer and use it in GitHub Desktop.
Upgrade end-of-lifed Ubuntu installation.

Upgrade end-of-lifed Ubuntu installation.

So, apt-get fails you. What do?

Step 1: Grind through old isos.

Old versions of ubuntu are found here.

  • Get the alternate version of the iso
  • Mount and run the script.
wget http://old-releases.ubuntu.com/releases/natty/ubuntu-11.04-alternate-i386.iso

sudo mkdir /media/cdrom
sudo mount -o loop ubuntu-11.04-alternate-i386.iso /media/cdrom
sudo /media/cdrom/cdromupgrade

Step 2: do-release-upgrade

sudo apt-get do-release-upgrade

If that doesn't work, then iterate through the versions using Step 1 until it does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment