Upgrade Ubuntu distribution
Firstly update the your repositories replacing with “breezy” with “dapper” for example. You can work out the release names and additionally even change the URL’s to a closer mirrors by referring to the official repository list. This can be done using:
vi /etc/apt/sources.list
If you’re not familiar with vi, ESC leaves editing mode and INS enters editting mode. To save and quit when not in editing mode use:
:wqTo update the sources list then upgrade your distribution use the following commands after each other:
apt-get update apt-get dist-upgrade
Double check the the upgrade using:
apt-get -f install
Then reboot to make all your upgrades take effect:
shutdown -r now
Using the following command will then confirm your server’s version:
lsb_release -a
Update!
I’ve since found out the method above is not the recommended process for upgrading please refer to the preferred process using update-manager-core. Additionally the process I used above has been officially documented on the Ubuntu help site.
September 18th, 2007 at 6:54 pm
Note that editing your sources.list manually is *not* the supported way of upgrading, see:
http://www.ubuntu.com/getubuntu/upgrading
September 18th, 2007 at 8:43 pm
Thanks for the information Jordan! I’ve updated the post with links to the official Ubuntu support pages…