Upgrading Ubuntu 8.04 Hardy to 10.04 Lucid

As of the 13th of September, 2010, Ubuntu 10.04 crashes.  Doing a Google search for Ubuntu 10.04 crashes will provide many results.  Fortunately, the crashes seem to only happen in Open Office.  I am hoping that a fix will come out eventually.  Ubuntu 8.04 rarely had any problems.  Any problems were either fixed within a few weeks, or a simple workaround can found.

I may decide to install Debian instead which Ubuntu is based on.

________________________________________________________________________

This is the first time I have tried to update Ubuntu to 10.04 Lucid from 8.04 Hardy using the upgrade option.  The steps are pretty straightforward, but I had to watch the installation process.  There are several error messages that will pop up, and the only thing that can be done is to ignore the packages that could not be installed.

NOTE:  Based on the fact that flash seems to create the most problems, I recommend going to add/remove programs and removing ubuntu restricted extras from Ubuntu 8.04 Hardy first if it is installed.  This should eliminate the need to fix the problem with the flashplugin-nonfree package.  Once the upgrade to Ubuntu 10.04 Lucid is complete, ubuntu restricted extras can be installed.  For those curious, http://packages.ubuntu.com/hardy/ubuntu-restricted-extras shows exactly what is in the ubuntu restricted extras package.

It maybe quite possible that other additional software installed that were not part of Hardy’s default installation may need to be uninstalled to remove any other problems that may arise.  Unfortunately, I did not install every piece of additional software and/or hardware.  Therefore, I cannot comment on this.

For those who wish to retain all the files, personal settings, etc. from Ubuntu version 8.04 to 10.04, doing an upgrade is the easiest way.  Firefox, the desktop, and other personal changes are preserved doing an upgrade.  The only thing I have found that is not preserved is the Wi-Fi password.

During the upgrade process, the user will have to make a decision on which version of menu.lst to use.  One can use the local version, but I recommend using the package maintainers version.  The difference is as follows:

Local version – use the Linux kernel that is currently being used in Ubuntu 8.04.  If all the hardware installed in the computer works fine, one can use the local version.

Package maintainers version – use the Linux kernel that is distributed with Ubuntu 10.04.  If one has new computer hardware that is not recognized in Ubuntu 8.04, there is a chance that this version may recognize the new computer hardware.

Basically, newer versions of Ubuntu will use a newer Linux kernel that support computer hardware that were previously not supported in older versions of Ubuntu.

How to upgrade Ubuntu 8.04 to 10.04 can be seen at http://www.ubuntu.com/getubuntu/upgrading#Upgrade%20from%208.04%20LTS%20to%2010.04%20LTS

Fixing the flashplugin-nonfree package error

During the upgrade, one will see a flashplugin-nonfree package error if one did not uninstall the restricted extras mentioned above.  Comment #4 will solve this error when one reboots and logs in to the system.

For those unfamiliar with Ubuntu, hold down the Alt key and then press the F2 key to open a command window.  Then type sudo gedit /var/lib/dpkg/status in the text box. This will open the file that one is supposed to edit.  If the file cannot be edited because it is read-only, try using gksu gedit /var/lib/dpkg/status instead.

The solution, comment #4, can be found at http://ubuntuforums.org/showthread.php?p=9227856

The following may need to be added to the list of repositories if one is unable to install the flashplugin-nonfree package using the Synaptic Package Manager.  Opening Synaptic Package Manager->Settings->Repositories->Other Software, one will have to add deb http://archive.canonical.com/ubuntu lucid partner.

For those wanting to change the default Operating system to boot and/or change the number of seconds to wait before booting the default OS, http://aprivatebeach.com/blog/2000/01/grub-cfg/ will show one how to do it.

There are apparently two versions of the grub menu that can be installed.  The other version called menu.lst can be seen at http://aprivatebeach.com/blog/2000/07/menu-lst/.  Therefore, if you do not have a grub.cfg file, you may have a menu.lst file instead.

For those wanting to see what kernel versions are available and/or use a kernel that is not listed in the GRUB, but it is available on your system, Upgrading Ubuntu Linux vs doing a fresh installation may help. It seems that upgrading to Hardy does not always use the latest kernel available to Ubuntu Hardy 10.04.

So far, I have just got it installed.  I will have to see what else needs to be fixed later.

Doing a fresh install from an Ubuntu Live CD installs flawlessly.  Therefore, this is the recommended method for upgrading.  Unfortunately, all data in the partition will be wiped out in the process.

Leave a Reply