To upgrade from Ubuntu 9.10 to 10.04, you need to perform the following steps:
1. Install update-manager-core if it is not already installed:
sudo apt-get install update-manager-core
2. vi /etc/update-manager/release-upgrades and set Prompt=normal
3. Run sudo do-release-upgrade