Hello people.
I've just finished upgrading a test Linode from Fedora Core 2 to Fedora Core 3 without problems, so here goes the instructions.
This was attempted with a fresh Fedora Core 2 image, but step 5 is meant to help those with already deployed systems.
Please read everything before attempting these procedures. There's a known problem.
1) List every kernel package in your machine, looking for 2.4 kernel packages installed.
The FC2 image available for Linodes contain many "ghost" kernel packages; the presence of a 2.4 kernel package in the system will block the installation of the udev package later.
Code:
]# rpm -q --whatprovides kernel
Remove all 2.4 kernel packages.
This first step is not mentioned in other upgrade guides as the presence of a 2.4 kernel in an FC2 system is much unusual.
Also, listing packages with "rpm -q" won't show
all these packages installed, and it took me a long time to learn this fact.
2) Obtain the fedora-release-3-8.noarch.rpm package from a Fedora Core 3
base repository.
This package will tell yum what "releasever" we want.
Code:
# rpm -Uvh --force fedora-release-3-8.noarch.rpm
This package has irrelevant conflicts, in this context, so we safely --force it in.
3) Obtain the yum-2.0.0-0.fc3.noarch.rpm package from a Fedora Core 3
base repository.
The new yum 2.0 is necessary for the upgrade process; besides, it's the default yum in FC3.
Code:
]# rpm -Uvh yum-2.0.0-0.fc3.noarch.rpm
4) Update the following packages: rpm, python and yum.
Code:
]# yum upgrade rpm python yum
5) List every package not available in the currently configured repositories.
This means every non-Core and non-Extras package won't be immediately available, unless you re-add your custom (now FC3) repositories.
Packages that can't be found in proper repositories may upset the upgrade process.
Code:
]# yum list extras
6) Upgrade!
Code:
]# yum upgrade
Before upgrading you may try listing available packages and stuff, to try the new yum out. It's much faster.
Appendix
Those that switched early to the Fedora Core 2 image (or upgraded with yum) may have met the "BerkeleyDB doesn't like lack of NPTL" bug. Unfortunately, the db4 (version 4.2) package in FC3 still presents this bug.
The usual solution is just to "upgrade" it to a custom built db4 package configured not to use NPTL, but I simply haven't done that yet.
So the above system, with the above bug present, won't let stuff like Subversion work.
If someone has success preparing a RPM for db4 that avoids said bug, PLEASE don't do the same thing as the guy I got the FC2 RPM from, and DO provide the SRPM so we can know what exactly did you do, and perhaps even improve it.
Good luck!