Manage your Blog

Create your blog now! Easy and Free

Ubuntuland

Get Paid to Blog About the Things You Love

13/05/2008 GMT 1

Ubuntu 8.04 Hardy Heron: Upgrade or clean install?

ubuntuland @ 14:44
Which path should you follow? Should you take advantage of Ubuntu's package manager and use it to upgrade your system to the latest 8.04 Hardy Heron release, or should you download a CD or DVD ISO image and do a clean install?
Common wisdom says that doing a clean install is the better, safer course of action.
There may be a little extra work involved configuring everything once the latest and greatest is installed, but that's nothing compared to the pain of an update gone wrong, according to traditional thinking.
But that cautious approach may no longer be necessary.

ipod_lord_ipod_by_kiubito.jpgI 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.

no one deals like we do!

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.

tiscali300x250_tiscalifamily.gifThe 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.


Unusual Gifts ideas

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.


Scarica Biagio Antonaccio subito!

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 [WWW] 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.

  1. Open System -> Administration -> Update Manager

    • update_manager_01.png

  2. Click the Check button to check for new updates.

  3. If there are any updates to install, use the Install Updates button to install them, and press Check again after that is complete.

  4. A message will appear informing you of the availability of the new release.

    • update-manager-upgrade-804.png

  5. Click Upgrade.

  6. Follow the on-screen instructions.

register728x90.gif

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.

  1. From the K-Menu run Adept Manager.

  2. Click Fetch Updates.

  3. The Version Upgrade button will appear. Click it.

  4. Follow the prompts

Network upgrade for Ubuntu servers (recommended)

  1. Install update-manager-core if it is not already installed:

    sudo apt-get install update-manager-core 
  2. login as root user:

    sudo passwd root 
  3. Enter passwords the change user to root:

    su 
  4. Launch the upgrade tool:

    do-release-upgrade 
  5. Follow the on-screen instructions.

Note: It's not recommended to upgrade your system through ssh

secondamano300x250_auto2set07.gif

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)

  1. Make sure the "dapper-updates" software channel is enabled.

  2. Be sure that you have all updates applied before you upgrade.

  3. Press Alt-F2 and type gksu "update-manager -d"

    • update_manager_01.png

  4. Click the Check button to check for new updates.

  5. A message will appear informing you of the availability of the new release.

    • update-manager-upgrade-804.png

  6. Click Upgrade.

  7. 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.

  1. enable the "dapper-updates" repository

  2. install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt.

  3. run "do-release-upgrade -d -m desktop" in a terminal window

  4. follow the steps on the terminal window

blinkobonus_game_728x901.gif

Network upgrade for Ubuntu servers (recommended)

If you run an Ubuntu server, you should use the new server upgrade system.

  1. enable the "dapper-updates" repository

  2. install the new "update-manager-core" package - dependencies include python-apt, python-gnupginterface and python2.4-apt.

  3. run "do-release-upgrade -d" in a terminal window

  4. 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.

  1. Download and burn the alternate installation CD.

  2. Insert it into your CD-ROM drive.

  3. A dialog will be displayed offering you the opportunity to upgrade using that CD.

  4. 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:

  1. Download the ISO file for the alternate installation CD using the .torrent[WWW] http://releases.ubuntu.com file found on

  2. Mount the ISO as a drive or burn it to a physical CD

  3. Follow the alternate CD upgrade instructions

[WWW] Detailed instructions here and [WWW] here.

source: linux.com & ubuntu.com

 

kingolotto_728x90.gif

Latest Posts

 

sky8_468x60.gif

Linux Links

 

Toys! Free 			shipping on Toys!

Free 			Shipping!

Comments

No Comments »

Post a Comment


<a href> <em> <blockquote> <strong> <cite> <code> <ul> <li> <dl> <dt> <dd>

Social Bookmarking
Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Linkarena Add to: Favoriten Add to: Seekxl Add to: Kledy.de Add to: Social Bookmarking Tool Add to: BoniTrust Add to: Power Oldie Add to: Bookmarks.cc Add to: Favit Add to: Newskick Add to: Newsider Add to: Linksilo Add to: Readster Add to: Folkd Add to: Yigg Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Spurl Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information