The upgrade here really hasn't changed from the previous ones all that much and the Fedora Core 4 to Fedora Core 5 upgrade is nearly identical to the first upgrade outlined in: RedHat Fedora: Fedora Core 1 to Fedora Core 2 Upgrade . If you have not already upgraded to FC4 please visit RedHat Fedora: Fedora Core 3 to Fedora Core 4 upgrade. page first before going up to FC5.
You will only need to replace step #8 with the below step: 8 ) Install fedora-relese either using http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/fedora-release-4-2.noarch.rpm or use another mirror from the fedora.redhat.com site. You can also use the mirrors from fedoralegacy.org if your distribution is too old.
We are also going to save the output of the upgrade process into a log file in case we need to analyze for more details.
THE UPGRADE PROCESS
1) Remove any old kernels. Myself I had about 7 kernels from prior installations so I removed all but 2 of them. This will help you avoid any dependency problems or package errors you might have otherwise receive. Use either yum or rpm to do this with:
$ yum remove kernel-<YOUR KERNEL DETAILS>
$ rpm -e kernel-<YOUR KERNEL DETAILS>
2) Run yum clean all before starting the upgrade.
3) Update/install the fedora-release for Fedora Core 5.
$ rpm -Uhv http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm
In case you can't find the 'fedora-release-5-5.noarch.rpm' off Fedora site, post a comment and I'll link mine here or see the above initial note on FC1 to FC2 upgrade above with regards to legacy kernel upgrades which may no longer be supported.
4) Run the actual upgrade:
$ nice -n 19 yum -y update 2>&1|tee ./upgrade-fc4-to-fc5.log
5) Watch out for messages and dependency problems. In my case I had installed a bunch of third party applications, some not from RPM. This broke the upgrade. To avoid problems and a long winded installation/upgrade, I simply uninstalled the packages. For libraries the upgrade complained about, I used --whatprovides switch:
rpm -q –whatprovides
rpm -qa xffm
and the name of the module that 'yum' complained about.
6) Prior to upgrading, I had customized my video card to use fglrx which I wanted back ASA my upgrade completed. This produced amazing results for my video performance to something like (literally) 10x the acceleration I had. Unfortunately, the version for FC5 was, apparently, no longer available. So on I went to upgrade to FC6.