I am currently running Fedora in a few places. Fedora 9 was recently released and I decided it was time to upgrade.
It is a pretty simple process using RPM and yum.
First make sure the repository is up to date and clean.
yum update
yum clean all
Next download the Fedora 9 core packages:
wget http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/x86_64/os/Packages/fedora-release-9-2.noarch.rpm
wget http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/x86_64/os/Packages/fedora-release-notes-9.0.0-1.noarch.rpm
Now just install the two packages you just downloaded:
rpm -Uvh fedora-release-9-2.noarch.rpm fedora-release-notes-9.0.0-1.noarch.rpm
Then I ran a check-update to see what was going to be updated:
yum check-update
Lot and lots of packages need to be updated, so time to update
yum update -y
Unfortunately there was a conflict during the transaction test with compat-db and passwd. It looks like this:
file /usr/include/db4.2.52/db.h from install of compat-db-4.5.20-5.fc9.x86_64 conflicts with file from package compat-db-4.5.20-3.fc8.i386
I cleaned up passwd manually by removing the older version and then upgrading the existing one.
rpm -e -vv passwd-0.73-1.i386
yum update passwd
Between those two, I made sure files from the newer package still existed and they did. So I moved onto compat-db:
rpm -e -vv compat-db-4.5.20-3.fc8.i386
yum update compat-db
This update does get 11 packages, but worked like a charm.
Now one (hopefully) last time with the full update:
yum update -y
Complete!
Check the version by catting the redhat-release file:
cat /etc/redhat-release
Fedora release 9 (Sulphur)
Because I am running in XEN, I don’t technically need a reboot- but I am doing one anyway to make sure.
The only thing not working was my webmail which needed Perl’s Iconv package. Simple CPAN install required:
perl -MCPAN -e 'install Text::Iconv'
Everything is running smoothly and on Fedora 9. Fantastic.