Wednesday, September 14, 2011

Upgrade ubuntu 10.04 to 10.10 command line

Open up a terminal window and issue these two commands:

sudo apt-get update
sudo apt-get upgrade

Of course, you will have to enter your sudo password for the first command. Once that is complete you may need to restart your computer (depending on if the kernel is updated or not). After that, you are ready for the upgrade. The first step is to issue the following command:

sudo apt-get install update-manager-core

Now we need to make a simple edit to the /etc/update-manager/release-upgrades. This file determines the default behavior for the release upgrader. The line you need to change is at the bottom of this file. Change it from:

Prompt=lts

to

Prompt=normal

Save and close that file and then issue the command:

sudo do-release-upgrade -d

When  prompted, click Y to continue on with the upgrade. Once the upgrade is complete, you will need to restart you computer.

No comments:

Post a Comment