Thursday, November 5, 2009

Upgrade to the next Ubuntu release

Last week Ubuntu 9.10 was released. For those users who already have Ubuntu installed there are two real options for installing the new version: upgrade or clean install. I prefer the clean install route but if you want to upgrade Ubuntu makes it very easy and gives you two way to do it.

If you want to use the graphical update manager open it by going to System > Administration > Update Manager. Make sure you have any outstanding updates installed and then click the "Upgrade" button.




If you prefer the command line approach or if you are upgrading a server it is still pretty easy. First make sure you have all your outstanding updates installed:
$ sudo aptitude update && sudo aptitude -y full upgrade
Next you have to install the updater package:
$ sudo aptitude -y install update-manager-core
Now run the command to begin the upgrade process:
$ sudo do-release-upgrade
Now just follow the instructions to upgrade your system. When you finish you will have to restart to make the changes take effect. To check which version of Ubuntu you are running you can use this command:
$ cat /etc/lsb-release

1 comment:

  1. I did the "update-manager-core" and when it said do I want to remove some unwanted files I hit the 'D' to display them and at the end I could NOT get back to the question of "Do you want th remove these files?"

    The only thing I was able to do was to [Ctrl]+[C] to get out of the current display.
    Is there a way to go back in to remove those unwanted files? Re running the 'update-manager-core' will not allow me to.

    Christopher

    ReplyDelete