April 25, 2008 by keith
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
Submitted by Jesse Lang (not verified) on Thu, 2008-07-03 17:36.
- reply
Won't "sudo do-release-upgrade" do the same thing with less hassle? Thanks.
J
Less Hassle
Submitted by keith on Sun, 2008-07-06 10:32.
- reply
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
Submitted by F4jr (not verified) on Wed, 2008-08-20 09:33.
- reply
Does's sudo do-release-upgrade errase everything ?
They advice to use this command on ubuntu website :
http://www.ubuntu.com/getubuntu/upgrading
CoLinux
Submitted by Fatman (not verified) on Tue, 2008-09-30 12:32.
- reply
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
Submitted by Guest (not verified) on Tue, 2008-10-28 17:41.
- reply
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