Upgrade FC4 to FC5 with yum

I recently upgraded a bunch of FC4 (a few FC3) installs to FC5 using yum. It has been a long time since I've tried doing an OS upgrade like this because it used to be pretty painful. I was surprised at how easy it is to do now. There are a few issues to get past but for the most part for fedora core 4 to fedora core 5 you just have to follow a few simple steps:

  1. Remove any kernels before 2.6.14. There are packages that will not allow you to upgrade unless you do this step. Use the yum command: yum remove kernel-2.6.14* or the rpm command rpm -e kernel-2.6.14*
  2. Even though it isn't in the documentation I have had trouble in the past with some dependancies not working out correctly so I like to run "yum clean all" before starting the true upgrade.
  3. Install the fedora-release for Fedora Core 5. Use the rpm command: rpm -Uhv http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm
  4. Run the yum update: yum -y update

That is all there is to it.

For more details see the following links:

YumUpgradeFaq and a good post on doing a FC4 to FC5 upgade.

Tags: , ,

Leave a Reply

Your email address will not be published.