A Django site.
June 26, 2008
» A Reminder About Upgrading Ubuntu…

I have seen a few questions in IRC and the forums lately regarding upgrading Ubuntu machines.  I thought I would toss out a reminder on the best, supported, methods of upgrading your machine and how to avoid (hopefully) some common pitfalls.

Upgrade Preparation

The first step towards an upgrade is to backup any mission-critical data that you may need.  Things like your documents, presentations, homework, etc.  I have never had an issue with an installer breaking and losing my data, but its simply just a good idea.  I’d hate to not have done the “just-in-case” and look back in regret.

Back up all your data by copying or archiving everything from /home/username, including those hidden folders.  This will include your personal files and personal configuration and settings.

Upgrade Requirements

It is worth pointing out that two things are required before you’ll be able to cleanly upgrade your machine.

  1. Your machine is completely up to date on its current release.
  2. You understand that upgrading is only supporting between single releases or LTS to LTS releases.  (ie; 7.04 -> 7.10 -> 8.04 is OK, 6.06 -> 8.04 is OK)

Once you understand these simple requirements you’re ready to begin.

Upgrading Your Machine

I have outlined upgrade steps in the past, which you may want to refer to for further details (a lot of feedback in the comments section), and I’ll also review them here.

No matter the version you are currently using you can be automagically offered an upgrade by using the Update Manager tool.  This tool can be found via “System > Administration > Update Manager” or via launching it by way of the Run Application Dialog:

ALT+F2 "update-manager"

As mentioned above you need to make sure your machine is up to date on its current release before you’ll be offered the new version.  Do this by clicking “Check” to check for any available updates.

Apply all available updates (these should not normally be delayed, very rarely do updates cause any breakages).

Repeat the update process until you are notified that a new release is available.  You’ll see something similar to this:

update manager upgrade to 8.04

If you are still on a previous version of Ubuntu the “available release” may vary, of course.

Remember, if you are upgrading from Ubuntu 7.10 you can upgrade directly to the latest release of 8.04.  If you are using anything previous to that you’ll need to repeat these steps for each release until you arrive at 8.04.  Yes, this might take some time if you are very far behind.

If you are using Ubuntu 6.06 you should be notified that 8.04 is available and you can upgrade directly.

Related

April 24, 2008
» Upgrade To Ubuntu 8.04

Ubuntu 8.04 “Hardy Heron” is released!  Definitely cause for celebration with many, many new features and improvements!  I figure a hot search item for the next little bit will be regarding how to upgrade.  I thought I’d share a collection of links that will hopefully cover enough of the bases to cover everyone.  Remember, the interweb tubes are going to be fairly clogged today so don’t be surprised if core Ubuntu sites take forever to load or don’t load at all.  I notice the Ubuntu Wiki is already overloaded this morning.  I’m hoping I’ve covered enough of the bases with recent posts to get everyone covered.

I’ve also linked posts from previous releases.  The steps are generally similar enough to give you a good idea.  Feel free to use them as a reference but not pure-gospel.

Upgrade Ubuntu 6.06 or 7.10 to Ubuntu 8.04

Upgrade 7.10 “Gutsy” to Ubuntu 8.04 “Hardy” (ubuntu-tutorials)

Upgrade 6.06 “Dapper” to Ubuntu 8.04 “Hardy” (ubuntu-tutorials)

Upgrade from Ubuntu Release Candidate to Ubuntu 8.04 Final (ubuntu-tutorials)

Upgrade Ubuntu Images to Final with Jigdo (ubuntu-tutorials)

Upgrade Ubuntu 6.06 “Dapper” Server to Ubuntu 8.04 “Hardy” Server (ubuntu-tutorials)

Upgrade Ubuntu 7.10 (Gutsy Gibbon) to Ubuntu 8.04 LTS (Hardy Heron) Beta (ubuntu geek)

Ubuntu Community Wiki Upgrade Notes (community wiki)

Previous Release Steps

How To Upgrade to Ubuntu 7.10 (ubuntu-tutorials)

Upgrade Ubuntu 7.04 Server to Ubuntu 7.10 (ubuntu-tutorials)

Upgrade Problems?  Try A Different Repository Mirror (ubuntu-tutorials)

Caching Upgrade for Multiple Machines with Apt-Cacher

If you plan on upgrading multiple machines on a single network using the above options please, for your sake and for the sake of the interweb tubes, set up something like Apt-Cacher to make your upgrades more bandwidth efficient!  Basically, if you’ve got two or three machines you plan on upgrading, Apt-Cacher will pull down all the required packages for the first machine & then cache them for the remaining machines.  The second and third (and fourth.. and fifth..) will upgrade tremendously faster and you’ll help unclog the interweb tubes for everyone else :)

Related

April 23, 2008
» Upgrade Ubuntu 6.06 to Ubuntu 8.04

With Ubuntu 8.04 being the second LTS (Long Term Support) release it is also possible to upgrade from LTS to LTS releases.  This means upgrading Ubuntu 6.06 to Ubuntu 8.04.  I have tested this in a previous post, “Dapper 6.06 to Hardy 8.04 Direct Server Upgrade“, which you might also be interested in (that post is regarding the Server and not the Desktop release.)

Upgrading via Update Manager

Step 1: It is suggested that you make sure your BIOS is up-to-date before you try such an upgrade.  This is based on some changes in the latest kernel releases which can conflict with older BIOS firmware.

Step 2: You’ll need to make sure that the dapper-updates software channel is activated.  (See my previous post linked above for an example of which repositories can/should be enabled.)

Step 3: Press Alt-F2 and type gksu "update-manager -d"

Upgrade Ubuntu 6.06 to 8.04 via Update Manager

Step 4: Click the Check button to check for new updates.

Step 5: A message will appear informing you of the availability of the new release.

Step 6: Click Upgrade

Upgrading to the latest version

Step 7: Follow the instructions as the Update Manager utility will walk you through each step of the upgrade.  You will still have a chance to back out after clicking Upgrade if you feel you’re not yet ready.

For more information and other information from the Wiki see: Upgrade Notes

Related