How To Upgrade Ubuntu 9.10 (Karmic Koala) To 10.04 (Lucid Lynx) (Desktop & Server)

Want to support HowtoForge? Become a subscriber!
 
Submitted by falko (Contact Author) (Forums) on Fri, 2010-04-30 13:46. :: Ubuntu | Desktop

How To Upgrade Ubuntu 9.10 (Karmic Koala) To 10.04 (Lucid Lynx) (Desktop & Server)

Version 1.0
Author: Falko Timme <ft [at] falkotimme [dot] com>
Follow me on Twitter
Last edited 04/30/2010

Yesterday the new Ubuntu 10.04 (Lucid Lynx) was released. This guide shows how you can upgrade your Ubuntu 9.10 desktop and server installations to Ubuntu 10.04.

This document comes without warranty of any kind! I do not issue any guarantee that this will work for you!

 

1 Desktop

Start the Update Manager (System > Administration > Update Manager):

The Update Manager should show that a new distribution release (10.04 LTS) is available. Click the Upgrade button to start the distribution upgrade:

A window with the release notes for 10.04 comes up. Click Upgrade again:

The upgrade tool is now being downloaded.

Afterwards, type in your password:

The upgrade is being prepared:

You might see a note that support for some applications ended. Click Close:

Click Start Upgrade to finally begin with the upgrade process:

The upgrade packages are now being downloaded...

... and installed. This can take some time, so please be patient.

You might see the following message (Continue without installing GRUB?). I had to check the checkbox because otherwise clicking the Forward button had no effect (i.e., the window did not close and the upgrade did not continue). As I understand it this means that the system will continue to use the old boot loader.

At the end of the upgrade process, you should remove obsolete packages:

The system needs to be rebooted to complete the upgrade, therefore click Restart Now:

After the reboot, you can use your new Ubuntu 10.04 desktop:

 

2 Server

First become root:

sudo su

Then run

aptitude update

and install the package update-manager-core:

aptitude install update-manager-core

Open the file /etc/update-manager/release-upgrades...

vi /etc/update-manager/release-upgrades

... and make sure it has Prompt=normal in it:

[...]
Prompt=normal

Then run

do-release-upgrade

to start the distribution upgrade.

root@server1:~# do-release-upgrade
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tool
Done downloading
extracting 'lucid.tar.gz'
authenticate 'lucid.tar.gz' against 'lucid.tar.gz.gpg'
tar: Removing leading `/' from member names

Reading cache

Checking package manager

Continue running under SSH?

This session appears to be running under ssh. It is not recommended
to perform a upgrade over ssh currently because in case of failure it
is harder to recover.

If you continue, an additional ssh daemon will be started at port
'9004'.
Do you want to continue?

Continue [yN]
 <-- y

Confirm that you want to do the upgrade:

Do you want to start the upgrade?


4 packages are going to be removed. 46 new packages are going to be
installed. 429 packages are going to be upgraded.

You have to download a total of 228M. This download will take about 2
minutes with your connection.

Fetching and installing the upgrade can take several hours. Once the
download has finished, the process cannot be cancelled.

 Continue [yN]  Details [d]
 <-- y

You might see the following message (Continue without installing GRUB?). Like in the desktop upgrade, I had to answer Yes. As I understand it this means that the system will continue to use the old boot loader.

Continue without installing GRUB? <-- Yes

At the end of the upgrade process, you should remove obsolete packages:

Remove obsolete packages?


44 packages are going to be removed.

 Continue [yN]  Details [d]
 <-- y

The server needs to be rebooted to complete the upgrade:

System upgrade is complete.

Restart required

To finish the upgrade, a restart is required.
If you select 'y' the system will be restarted.

Continue [yN]
 <-- y

After the reboot, your server is running Ubuntu 10.04.

 

3 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Mon, 2010-05-17 15:20.

All i did was, change karmic to lucid in /etc/apt/sources.list

apt-get update && apt-get dist-upgrade

and i was done

just a tip, if you do this remote.
first apt-get install screen openssh-server

and run screen first before you upgrade your server.

 

Submitted by DUCKFACE (registered user) on Wed, 2010-05-05 22:48.

Watch out! Some apps not working with PHP 5.3

 

Submitted by I Love Free Software (not registered) on Mon, 2010-05-03 16:28.
wow.. this seems like an extremely easy process. I was thinking that I would have to reinstall the OS all over again. I am glad I came across this article. Thanks :)
Submitted by Eric (not registered) on Fri, 2010-04-30 19:28.

Just wanted to make a note that I had much success with this tutorial. I have a LAMP server based of a combination of other tutorials you made for 9.10 and was 100% successful with this upgrade. Only difference was I was prompted multiple times to replace or keep config files for various daemons like apache, mysql, pure-ftpd etc which I chose to keep my modified versions (default option) and everything worked like a charm. I also installed an Alfresco/Tomcat package on my own and didn't have any issues there either outside of those known for Alfresco Community 3.2r.

 

Thanks!