h1

Upgrading Ubuntu

December 18th, 2012

“Error during update

A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry.”

I haven’t upgraded my Ubuntu distribution since Lucid Lynx (10.04) and didn’t want to do a fresh install to get the current Precise Pangolin (12.04). This requires upgrading Lucid one intermediate distro at a time to get to my final goal. But, since nearly all the intermediate distros have become unsupported in the meantime, this means the standard way of asking the Update Manager do this all for me was a moot point. After a bunch of googling and lots of waiting (I had to go 10.04 -> 10.10 -> 11.04 -> 11.10 -> 12.04) I finally got there, despite some errors along the way.

In short, the main trick was this:

1. First, download the “Alternate Install CD” for the distribution version you want. Then:

2. (i) You can either burn the ISO onto a CD and upgrade by booting from it

or

2. (ii) Type in the terminal (don’t literally copy + paste the italics!):

  • sudo mount -o loop /Location/Name_of_downloaded_distribution.iso /media/cdrom0
  • gksu “sh /cdrom/cdromupgrade”

Remember to choose the upgrade without getting updates from the internet or there will likely be errors because it can’t find the no longer supported distribution.

I also ran into other errors that wouldn’t allow me to update but I can’t remember the precise details so I won’t bother trying to ┬ádig it up. Something along the lines of removing unsupported software did the trick, I think.

Leave a Comment