Rogue Wolves is the personal site of .

I'm currently a research scientist with Oculus Info Inc. in Toronto, Ontario Canada.

My research interests include: adaptive user interfaces, machine learning, Bayesian reasoning and distributed artificial intelligence.

Update FC3 to FC4 Using Yum

To test out iFolder I had to upgrade my Fedora Linux install to FC4. I contemplated FC5 but read somewhere about an issue with iFolder and FC5 so I decided against it. Best not to leap frog from FC3 to FC5 steps.

Rather than clean install or download the installer CD and attempt an upgrade I decided to tempt fate and see how well a live update using Yum would work. Note: first I backed up everything. I may be adventurous but I'm not crazy. This upgrade path is not recommended by the Fedora Project, however many people have had good success with it.

Key points:

  • Disable third party repositories first
  • Backup everything important!
  • Make note of any third party software you may have installed (it may be broken after the upgrade)
  • Disable SELinux and reboot
  • Some config files may have changed. The upgrade will not overwrite your existing config files but will create a version with a .rpmnew extension so you can merge the changes into your existing config.
  • FC3 uses PHP 4 and FC4 uses PHP 5 so you will have to update your php.ini file after the upgrade. You pretty much can just mv php.ini php.ini.bak and mv php.ini.rpmnew php.ini to get it working.

This is a quick list of steps on what to do.  For more information on what's going on etc, read through the links at the bottom.  Particularly if you have a 64 bit system, there are some additional steps that I omitted here.

Step 1: yum -y update yum
Step 2: wget
Step 3: rpm -Uvh /path/to/fedora-release-4-2.noarch.rpm
Step 4: Disable third party repositories. I just renamed them from .repo to .bak
Step 5: yum -y upgrade mkinitrd
Step 6: yum -y update kernel
Step 7: Disable SELinux: nano /etc/sysconfig/selinux and set SELINUX=disabled
Step 8: Reboot and load FC4 Kernel
Step 9: yum remove kernel-2.6.\*FC3\* and yum remove kernel-smp\*FC3\*
Step 10: yum -y upgrade
Step 11: Go get a coffee this will take some time...
Step 12: yum groupinstall "GNOME Desktop Environment"
Step 13: Re-enable SELinux if you use it
Step 14: Reboot
Step 15: Look over system logs and see if any problems occurred at bootup.
Step 16: Re-enable third party repositories and perform yum update

I didn't come up with this whole step process. I used the following two resources to come up with a strategy:


Upgrading Red Hat Linux with Yum

So far it's been a big success. My only snag was php being broken, but after updating my php.ini file it worked fine. Now I should be able to give iFolder a go and see how well it works...