Upgrading to Fedora Core 5

After having successsfully upgraded my spared Dell box to Fedora Core 5, I messed up the boot partition and had to do it all over again. So I decided I might as well document it here since the processs wasn’t quite as smooth as one’d hope.

UPGRADING FEDORA CORE 4 TO CORE 5 USING YUM
1. First, make sure

1
yum

is up to date. If you are going to upgrade your system with it, you might as well make sure the tool is up to pars.

me@localhost$

1
yum -y upgrade yum

This is going to download a bunch of other stuff other than

1
yum

. So be patient.

2a. Next, make sure sure your

1
kernel

is up to date as well. Or else when you upgrade to FC5, it will throw a bunch of errors like this:

1
2
Error: Package initscripts needs kernel < 2.6.12, this is not available.
  Error: Package kudzu needs kernel < 2.6.13, this is not available.

So here we go:

me@localhost$

1
 yum -y upgrade kernel

For multi-CPU systems, do the following instead:
me@localhost$

1
yum -y upgrade kernel-smp

2b. Just to be on the safe side, some packages may need to be removed before upgrading. This script should tell you what needs to go:

me@localhost$

1
perl -ne 'print "$1\n" if ((/Error: Missing Dependency:.*is needed by package (.*)$/) || (/Error: Package (.*?) needs.*, this is not available./))' /tmp/yum_upgrade | sort | uniq

3. Reboot. Make sure you boot into the latest

1
kernel

or else you are going to have the same problems as I mentioned before.

4a. Now delete any old

1
kernels

you have still on your system. First, let’s see what’s there:

me@localhost$

1
rpm -q kernel kernel-smp kernel-devel kernel-smp-devel | sort

4b. Delete old

1
kernels

:

me@localhost$

1
rpm -e kernel-version-number

I read somewhere that you should delete

1
kernels

by using

1
rpm

since it also tidies up your bootloader file for you.

Optional: Update

1
rpm

packages:

me@localhost$

1
rpm --rebuilddb

5. Now we are ready to get the FC5 upgrade package:

me@localhost$

1
2
3
rpm -Uvh <a href="http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm" target="_blank">http://download.fedora
.redhat.com/pub/fedora/linux/core/5/i386/os
/Fedora/RPMS/fedora-release-5-5.noarch.rpm</a> (this code wraps for cosmetic reasons. But you should copy/paste this as if it's one unbroken line.)

6. Finally. Show time. Let’s upgrade this puppy…

me@localhost$

1
yum -y upgrade

Now sit tight and wait. This could take a while depending on your Internet connection. It took me roughly 5-7 hours on a moderately fast DSL.

7. Once everything is downloaded and installed, reboot.

8. It’s probably a good idea to keep your old

1
kernels

. But I deleted my FC4 kernels.

INSTALLING VMWARE 5.5.1.x
Nothing is EVER easy on Linux. The same assumption (and proof) goes to updating VMWare after the FC5 upgrade. VMWare complained about not being able to find “the directory of C header files”. To resolve this problem, you must download the

1
<a href="http://ftp.cvut.cz/vmware/vmware-any-any-update101.tar.gz" target="_blank">vmware-any-any-update101.tar.gz</a>

and run it. Everything will hum just fine after this update is applied to VMWare.

Much thanks to: brandonhutchinson.com and LinuxSky.com (Simplified Chinese only)