How To: Upgrade Your Base OS
Aubrey's picture

This is a brief How To on upgrading OzOS installations based on X/ubuntu 8.04.1 (Hardy Heron) to an 8.10 base (Intrepid Ibex) - If you installed OzOS 0.9 from a CD image, this is a suitable way to move up one release - although the steps are really quite generic for any ubuntu- or debian-based distro that requires upgrading to a new version - just use the appropriate names for the new version's repositories. It also works for Intrepid to Jaunty (ie Ubuntu 8.10 to 9.04) upgrades. It will only work for upgrades between consecutive releases - 8.04 to 8.10 or 8.10 to 9.04 - DO NOT TRY TO "JUMP" two or more versions.

As with any major operation on your system, please do a complete update/upgrade before you begin and make any backups necessary to protect your installation. Please also read the notes at the bottom of this page.

In terms of cosmetics and basic functions, there are no real advantages in upgrading OzOS to an Intrepid base. You would be hard pressed to notice any changes at all. It is only important to do an upgrade if you have software needs, or specific issues, that can be addressed better in Intrepid. Or you are just a compulsive upgrader.

So here's the process:

1.Edit the file /etc/apt/sources.list to comment out the third party sources (add # to the beginning of each line) - including those at cafelinux.org and apt.wicd.net (if they exist in this file - see 1.2 below). I use Scite as my editor but any plain text editor will do, including vi or nano if you are doing this completely from the cli.

>gksudo scite /etc/apt/sources.list

replace all references to 'hardy' with 'intrepid'.

1.2 The following steps are recommended if you installed OzOS 0.9 from CD (iso) rather than by installing the metapackages on an existing installation:

Edit (eg. with "gksudo scite ....") the files /etc/apt/sources.list.d/extras.list and /etc/apt/sources.list.d/ozos.list and comment out every line (add # to the beginning of each line)

At this point it is also suggested that, in extras.list, you change "hardy" to "intrepid"

2. Now comes the "heavy lifting":

>sudo apt-get update

>sudo apt-get dist-upgrade

For me, this required a download of more that 500Mb. The installation took over an hour and required user responses at several points to deal with config files and networking issues.

3. When/if the upgrade is complete you can reopen extras.list and ozos.list (same as before) and uncomment all lines. You can then do:

>sudo apt-get update

and

>sudo apt-get upgrade

but no action should be required.

4. Reboot to your updated desktop - it should look and behave exactly as it did before the upgrade!

Notes

1. The dist-upgrade will install a new kernel. If you require additional modules (eg. for graphics/wifi drivers) or if you are running OzOS in a virtual machine, you will need to go through your usual procedures to get the right modules loaded. If you aren't well practiced in this, you may need to download new drivers and make some notes for yourself before you start the upgrade.

2. I have only tested this procedure on one desktop machine that was directly connected to the 'net. This means that I did not have to do any manual reconfiguring of networking, so that has not been tested.