Submitted by keith on Fri, 2008-04-25 02:19
Posted in

Ubuntu has just officially released the latest version of Ubuntu 8.04 LTS (Hardy Heron) yesterday!
As the new version can be downloaded off from the website for users who want a fresh, new installation, current Ubuntu users may not want to do so. However, it is relatively easy to perform an distribution upgrade using the instruction listed here, but there is also an alternative solution, via the command line upgrade.
However, do note that command line upgrade is not recommended and it may result in apt crashing and manual problem fixing.
The procedure is relatively easy; almost using the similar step to that of performing a network upgrade.
- Have the following packages, i.e. ubuntu-minimal and ubuntu-standard installed.
sudo apt-get install ubuntu-minimal ubuntu-standard
- Select and install the appropriate desktop package, e.g. ubuntu-desktop or kubuntu-desktop.
sudo apt-get install ubuntu-desktop
- Edit your /etc/apt/sources.list as root and change every occurrence to hardy. For example,
sudo nano /etc/apt/sources.list
- Perform the upgrade.
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get dist-upgrade
- To ensure everything is properly installed, run the following commands.
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get -f install
sudo dpkg --configure -a
- Reboot the system for all changes to take effect.
Hope that helps you achieve an alternative upgrade solution to Ubuntu Hardy Heron.



This should be simpler
Won't "sudo do-release-upgrade" do the same thing with less hassle? Thanks.
J
Less Hassle
Hi Jesse,
I'm not sure about using that might really perform a clean upgrade on the system. Though it is less hassle, but something might break within.
Nonetheless, it depends on individual systems, e.g. what packages have been installed.
Foto
Does's sudo do-release-upgrade errase everything ?
They advice to use this command on ubuntu website :
http://www.ubuntu.com/getubuntu/upgrading
CoLinux
Thanks Keith!
Worked perfectly for me under CoLinux.
The best bit is - the whole upgrade took less than an hour using a slow (256k down) broadband connection. I'm well impressed.
two points
Step 4: should probably have 'sudo apt-get upgrade' as the second command, not 'dist-upgrade'
do-release-upgrade doesn't use the proxy settings from apt.conf, you'd need to specify them manually.
Post new comment