9.10 to 10.04 (Karmic to Lucid) using Alternate CD
Note that the instructions listed at the bottom of this page will no longer work. The do_release_upgrade tool will now return this error:
An upgrade from 'karmic' to 'lucid' is not supported with this tool.
To upgrade from 9.10 to 10.04, you must now use the Alternate CD upgrade method. Or you can use:
sudo do-release-upgrade -d
Which will still allow you to upgrade to Ubuntu 10.04.
9.10 to 10.04 (Karmic to Lucid)
Before you start
Please make sure you've read and understood the main EOLUpgrade page.
I would recommend using clonezilla for backing up your current installation. It is very easy to backup and restore your partitions with clonezilla. It takes less then 30 minutes to backup/restore a 20Gb root filesystem which has 4-5 Gb used space.
The upgrade
- Please make sure you have the following sources.list (/etc/apt/sources.list).
## EOL upgrade sources.list # Required deb http://old-releases.ubuntu.com/ubuntu/ karmic main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse # Optional #deb http://old-releases.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse #deb http://old-releases.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
You can make use of -backports, -proposed repositories if you want. For more information about repositories see Repositories/Ubuntu.
- Update the package list and upgrade all the installed packages
sudo aptitude update && sudo aptitude safe-upgrade
- Perform the release upgrade.
sudo do-release-upgrade
- Check your new version
Reboot your machine and you can now run lsb_release -a to check the new version of Ubuntu.