Upgrading Ubuntu using CUI: From 7.10 Gusty to 9.04 Jounty
Problem
You want to uprade Ubuntu Linux to the latest version. (9.04 at this time)
Solution
to 8.04 Hardy
If your version is old enough that when you type
>sudo apt-get upgrade
and you will see 404 Errors, then You have to edit your sources.list like this.
$ sudo -s # mv /etc/apt/sources.list /etc/apt/sources.list.gusty # sed -e 's/gusty/hardy/g' /etc/apt/sources.list.gusty > /etc/apt/sources.list # apt-get update # apt-get upgrade
Then, install update-manager.
$ sudo apt-get install update-manager-core
to 8.10 Intrepid
$ sudo -s # mv /etc/apt/sources.list /etc/apt/sources.list.hardy # sed -e 's/hardy/intrepid/g' /etc/apt/sources.list.hardy > /etc/apt/sources.list # apt-get update # apt-get dist-upgrade
Intrepid to Jounty
sudo apt-get update sudo apt-get upgrade sudo do-release-upgrade
Finally, you can check your Ubuntu version like this.
cat /etc/lsb-release
Tags: linux
Thanks for posting about this, I would like to read more about this topic.