Ubuntu 8.04 Hardy Heron: Upgrade or clean install?
I did a clean install of Ubuntu 8.04 recently on my development machine. It was a quick and easy process.
I backed up the data and configuration files residing in my /home directory, installed the new release, then copied my saved data back in place. Nothing to it, and everything worked when I was through.
But when the Ubuntu 7.10 package manager recently offered to upgrade me to release 8.04 when it was showing me the latest security updates available, I decided it was time to try the upgrade path as well.
I did this in spite of the advice I heard in the #ubuntu channel at irc.freenode.net. The unanimous opinion I received from the three people who responded was to do a clean install, although one of the three said he personally used upgrade because it left him with less to do afterward. The reasons for recommending a clean install included risk avoidance, better results for complex configurations, and speed. One of the three noted most of the 8.04 installation problems he had seen in the channel came from those taking the upgrade path.
Back up early and often
Click to enlarge When you do a clean install, you know beforehand that you are going to lose everything you don't specifically back up and then restore after the install. When you do an update, you hope that everything will still be there and still work when you're finished. The most important thing to remember when doing an update is the same thing that's most important to remember when you do a clean install: back up everything before you begin.
I have two hard drives on my primary desktop. One is almost completely dedicated to backing up my email, photo, video, and text files from my /home directory. It has gotten quite large over the years. Before starting the upgrade process to Ubuntu 8.04, I made sure my backups were completely up-to-date.
I started the upgrade at 11:00 a.m. one morning, and finally finished the process at 6:30 a.m. the next day. Yes, I did take time off to sleep, but that's still a long time. In comparison, doing a clean install took only an hour on my alternate desktop machine.
The process begins by downloading the upgrade tool. That's followed by something called "setting new software channels," which appears to be identifying which repositories you need in order to bring all currently installed applications up-to-date. Those two tasks combined took less than half an hour to finish.
The largest chunk of time -- about 12 hours -- was spent downloading new packages. I'm sure much of the reason for the slow speed can be attributed to the fact that many others were doing the same thing at the same time I was, with available bandwidth shrinking to fit demand. Downloading and burning a complete 8.04 ISO image took less than an hour a few days earlier. Because it took so long to download the new packages, I ran another backup of my email files when I was ready to start applying changes, then closed the email app -- just in case.
The next step was to install and configure the new packages. This, too, takes longer to do than starting from scratch with a new install -- about an hour on my machine. Early on, the progress bar advised I had 33 minutes remaining, but the remaining time shown increased the further it went. In the end, I went to bed and let it continue by itself. A couple of the applications (CUPS and PostgreSQL) required interactive participation, so when I returned to the computer the next morning, I had to choose between keeping the old configuration files or replacing them.
The remaining upgrade steps (cleanup and reboot) went smoothly, and I finally found myself sitting across the keyboard from Ubuntu 8.04, almost 24 hours after my journey began. But my email accounts and data were there immediately, and my browser toolbar and bookmarks were present and accounted for as well.
Which is best?
Having installed Ubuntu 8.04 both ways, by upgrade and also with a fresh installation, which do I prefer and which would I recommend? The answers are not the same.
After having used both, I'm solidly in the "clean install" corner. It was faster by far, and not only seems to be a cleaner course of action, with fewer opportunities for a misstep, but offers greater control over how the new installation will operate, since any and all control decisions bubble up to the surface during the process.
But the clean install approach may not be the right choice for you. In my mind, the swing point in the decision is this: if you are an experienced Ubuntu user more interested in having a system ready to use and as identical to the previous installation as possible, consider an upgrade instead of an install. If you are not as confident in your Ubuntu-foo, or are more interested in having the latest and greatest packages rather than a system that behaves immediately just as the previous one did, go with a clean install.
The good news is that both processes seemed to work well for me.
Ubuntu 8.04 LTS ("Hardy Heron") HardyUpgrades
This document provides instructions and notes on upgrading to Ubuntu 8.04 LTS (Hardy Heron), released on the 24th of April 2008.
Before you start
-
You can directly upgrade to Ubuntu 8.04 LTS ("Hardy Heron") from Ubuntu 7.10 ("Gutsy Gibbon") or from Ubuntu 6.06 LTS ("Dapper Drake"). This page contains instructions for both. (see UpgradeNotes)
-
Be sure that you have all updates applied to your current version of Ubuntu before you upgrade.
-
Before upgrading it is recommended that you read the
release notes for Ubuntu 8.04 LTS, which document caveats and workarounds for known issues in this version.
Note: If you have a version of Ubuntu other than 6.06 LTS or 7.10, please see Installation/UpgradeFromOldVersion for information on how to upgrade.
Upgrade from 7.10 to 8.04 LTS
Network upgrade for Ubuntu desktops (recommended)
You can easily upgrade over the network with the following procedure.
-
Open System -> Administration -> Update Manager
-
-
Click the Check button to check for new updates.
-
If there are any updates to install, use the Install Updates button to install them, and press Check again after that is complete.
-
A message will appear informing you of the availability of the new release.
-
-
Click Upgrade.
-
Follow the on-screen instructions.
Network upgrade for Kubuntu desktops (recommended)
To upgrade from Kubuntu 7.10 to 8.04, over the internet, use the following procedure.
For a full graphical presentation of these steps, please review HardyUpgrades/Kubuntu.
-
From the K-Menu run Adept Manager.
-
Click Fetch Updates.
-
The Version Upgrade button will appear. Click it.
-
Follow the prompts
Network upgrade for Ubuntu servers (recommended)
-
Install update-manager-core if it is not already installed:
sudo apt-get install update-manager-core
-
login as root user:
sudo passwd root
-
Enter passwords the change user to root:
su
-
Launch the upgrade tool:
do-release-upgrade
-
Follow the on-screen instructions.
Note: It's not recommended to upgrade your system through ssh
Upgrade from 6.06 LTS to 8.04 LTS
This section describes how to perform 6.06 LTS ("Dapper") -> 8.04 LTS ("Hardy") upgrades.
Network upgrade for Ubuntu desktops (recommended)
-
Make sure the "dapper-updates" software channel is enabled.
-
Be sure that you have all updates applied before you upgrade.
-
Press Alt-F2 and type gksu "update-manager -d"
-
-
Click the Check button to check for new updates.
-
A message will appear informing you of the availability of the new release.
-
-
Click Upgrade.
-
Follow the on-screen instructions.
Network upgrade for Kubuntu desktops (recommended)
To upgrade from Kubuntu 6.06 to 8.04 over the Internet you can use a special mode in the server upgrade system.
-
enable the "dapper-updates" repository
-
install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt.
-
run "do-release-upgrade -d -m desktop" in a terminal window
-
follow the steps on the terminal window
Network upgrade for Ubuntu servers (recommended)
If you run an Ubuntu server, you should use the new server upgrade system.
-
enable the "dapper-updates" repository
-
install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt.
-
run "do-release-upgrade -d" in a terminal window
-
follow the steps on the terminal window
Upgrading using the alternate CD/DVD
Use this method if the system being upgraded is not connected to the Internet.
-
Download and burn the alternate installation CD.
-
Insert it into your CD-ROM drive.
-
A dialog will be displayed offering you the opportunity to upgrade using that CD.
-
Follow the on-screen instructions.
If the upgrade dialog is not displayed for any reason, you may also run the following command using Alt+F2:
gksu "sh /cdrom/cdromupgrade"
Or in Kubuntu run the following command using Alt+F2:
kdesu "sh /cdrom/cdromupgrade"
Upgrading from a torrent
If you're familiar with torrents and have an ISP that doesn't limit them, you can download the upgrade much more quickly. You'll also be sharing your bandwidth with other Ubuntu users and helping to reduce the load on the servers, which is especially useful on release days when the server overload causes problems. Basic instructions:
-
Download the ISO file for the alternate installation CD using the .torrent
http://releases.ubuntu.com file found on -
Mount the ISO as a drive or burn it to a physical CD
-
Follow the alternate CD upgrade instructions
Detailed instructions here and
here.
source: linux.com & ubuntu.com
Latest Posts
-
05/05 – Ubuntu's OpenGL Face Browser with GNOME Desktop Manager
-
25/04 – Veritas NetBackup: Dedicated or Shared Backup Environment
-
16/04 – Dvd+rw-tools makes it possible to burn Dvd images created by “dvdauthot” or “mkisofs”
-
15/04 – FEBE (Firefox Environment Backup Extension) 5.3.1 released
-
14/04 – Veritas NetBackup, Backup Planning and Configuration Guidelines
-
13/04 – Ubuntu Server Guide, Part 3: PostFix, PostgreSQL, Databases and SMTP Authentication
-
10/04 – New Compiz Fusion: Cubereflex rename to Cubeaddon with new effect Cylinder
-
08/04 – RSS Buttons Collection Pack for Your Blog: The Ultimate List
-
05/04 – MP3Roaster is a Perl hack for Burning Audio Cds out of Mp3 OGG Vorbis and FLAC files
-
26/03 – Picasa is a software application for organizing and editing digital photos
-
19/03 – Dvd+rw-tools makes it possible to burn Dvd images created by “dvdauthor” or “mkisofs”
-
15/03 – The Burgner project aims to be a complete free burning suite
-
14/03 - Software Packages in Hardy Heron: Administration Utilities
Linux Links
-
05/05 – GNU Cpio Copies Files into or out of a Cpio or tar Archive
-
04/05 – Simple Linux Backup is a easy-to-use backup to automatically backup a Linux Desktop System
-
03/05 – DIBS is a Backup System that Protects your Data by Giving your Files to Peer
-
02/05 – Updates Medibuntu Repostories for Ubuntu 8.04 Hardy Heron
-
30/04 – Enigmail, extension to the Mail Client of Mozilla Thunderbird and Mozilla SeaMonkey
-
24/04 – Timidity ++ is an Open Source MIDI to WAVE converter and player
-
23/04 – Ubuntu Start Manager for the bootloader (Grub o Grub2) and boot splash (Usplash or Splashy)
-
23/04 – Gvtray for Xubuntu, a voume control for four system tray
-
22/04 – a MSN is a Windows Live Messenger clone licensed under the GPL
-
20/04 – VLC VideoLan Media Player 0.86 f release for Ubuntu Linux
-
16/04 – HacBurn a script written in Perl aid in writting CDs
-
25/03 – Phaser, a frontend to Cd record with the aim for Making Cd Burning Under Linux Easier
-
19/03 – Gnash, the free software Flash Player , has released its first beta
-
16/03 – Burn CDDA console frontend for cdrecord, mpg 123, oggdec, mppdec, flac
-
03/03 – KPDF viewer based on the code of the xpdf application









digg it
del.icio.us










