PDA

View Full Version : Upgrade to FC5 test2


Carlton
2006-01-16, 08:39 PM CST
I like living on the edge :D . Can I run yum dist-upgrade or some other terminal command to upgrade FC4 to FC5 test2?

homey
2006-01-16, 08:58 PM CST
I like living on the edge
You might be pleasantly surprised as this is a beauty! IMHO of course :)

I don't normally install beta anything but, I made an exception this time, I backed up the ole reliable FC4 and installed FC5 Beta from cdrom.

I didn't use the yum upgrade this time but, when I have done an upgrade like that, I go through the yum repos files and change $releaserver to the number of new os, 4.91 in this case.
I use a search and replace for all of the repos.
For example:
name=Fedora Core $releasever - $basearch - Base

name=Fedora Core 4.91 - $basearch - Base

Then, I run the command: yum upgrade

peters
2006-01-16, 11:49 PM CST
Actually I think the documented method is to get & update the package with the /etc/fedora-release file to the newer version and then do the upgrade. :)

Carlton
2006-01-17, 04:47 PM CST
Where in the world can I get the /etc/Fedora-release file ??

If I can't get it, I'll just download the DVD.

peters
2006-01-17, 05:05 PM CST
To find out, just do a rpm -qf /etc/fedora-release . It should tell you what package owns that file. On mine it is fedora-release-4-2 (FC4.)

You could probably just do rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/test/4.91/i386/os/Fedora/RPMS/fedora-release-4.91-1.noarch.rpm

P