Skip to content

Upgrade ubuntu to a new release

2009 February 2
tags:
by Philippe Delodder

To upgrade ubuntu to a new release you have two options or maby three options. The third option consists of reinstalling you system with the new release. The 2 other options are without reinstalling the complete system and will be explained here.

The  first options is by command line:

sudo sed -e ’s/\soldversion/ newversion/g’ -i /etc/apt/sources.list
sudo apt-get update
sudo aptitude dist-upgrade
sudo aptitude dist-upgrade

No, it’s not a mistake the two entries of the command “sudo aptitude dist-upgrade” because sometimes there can be a conflict that only a second run of the command can solve it.

The “oldversion” can be intrepid and “newversion” can be jaunty as an example.

The second options is the graphical way but you still need to enter one command.

gksudo “update-manager -c -d”

You have to make sure that the “Show new distribution release” to “Normal releases” is set in Software Sources update tab. This only needs to change if you have a LTS release installed.

Now you will update your system with the update-manager of ubuntu. You only need to confirm a few things and then it’s doing it for you.

After this reboot your system so you also use the new kernel.

2 Responses leave one →
  1. wannes permalink
    February 24, 2009

    Fourth option is to use “sudo do-release-upgrade”. It’s the CLI-version of update-manager.

  2. February 24, 2009

    Thnx for the contribution.

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS

Bad Behavior has blocked 116 access attempts in the last 7 days.