Fedora - InstallationThis forum is for the discussion of installation issues with Fedora.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an old system running Fedora Core 3. At last I'm going to try and upgrade it. I had planned to use "yum update" to do that. I've read some documentation but I still don't know what files I need in /etc/yum.repos.d and what they should contain. Does anyone have a working configuration (files to put in /etc/yum.repos.d) to share?
FC3 is ancient. They're up to FC10 now (actually they just call it F10 these days).
Fedora is a short life cycle product so archives aren't kept around that long. It is intended to be a bleeding edge system so you're always getting the latest greatest.
Using yum to "upgrade" the version of Fedora (as opposed to invdidual packages) is not recommended anyway though some have made it work from one version to the next. In your case it appears you'd need to go through 7 versions so the best idea would be to back up everything then simply do a fresh install then restore those things you need from the old install.
If you don't want bleeding edge you might want to try something like CentOS instead. It is a binary compile of RedHat Enterprise Linux (RHEL) sources which has a much longer life cycle. Fedora is used as a test bed for things that eventually end up in RHEL.
I want to upgrade the fedora version using yum and finally I want to reach the current version, fedora 11. Just for learning how to configure the /etc/yum.repos.d files I can think of starting with upgrading to FC4. At first I need to understand the minimum number of files that are required in /etc/yum.repos.d and also how I direct yum to install a specific fedora version (like for example fedora core 4).
FC3 is ancient. They're up to FC10 now (actually they just call it F10 these days).
. . .
Actually, F11 is the current release, and F12 will (probably) be released this month. Support for F10 will be dropped one month after F12 is released.
Note that F12 is compiled using the -march=i686 machine option, so an Intel 686 ("Pentium") or equivalent AMD processor is assumed for the default PC hardware. If you want to install Fedora on older PC, you'll need to download the sources and compile you own system. (And, of course, any applications you want to use.) F11 assumed an I586 so even that release may not work on older PC hardware.
you WILL NOT -- NOT -- be able to do a yum " upgrade from fedora 3 to 11 .
It is an impossibility.
do a FRESH install of fedora 11 . I had fedora 11 running on a 8 year old dell .
Ok, thank you for your remarks and suggestions! It would be even nicer if you also could say something about the files in /etc/yum.repos.d and what they should/must contain. This thread was really thought to be about that.
I'll guess it's actually possible for me to upgrade to, let's say FC4. If it's really doable, how should I edit my files under /etc/yum.repos.d? (I know there's a FC4 repository at http://archives.fedoraproject.org/pu...386/os/Fedora/) I'm willing to do this just to learn something and my first priority is not to reach Fedora 11 as fast as possible.
Ok, thank you for your remarks and suggestions! It would be even nicer if you also could say something about the files in /etc/yum.repos.d and what they should/must contain. This thread was really thought to be about that.
I'll guess it's actually possible for me to upgrade to, let's say FC4. If it's really doable, how should I edit my files under /etc/yum.repos.d? (I know there's a FC4 repository at http://archives.fedoraproject.org/pu...386/os/Fedora/) I'm willing to do this just to learn something and my first priority is not to reach Fedora 11 as fast as possible.
Regards Christian Eriksson
Fair enough, although (in my opinion) somewhat silly.
Anyhow, all you need to do is change the path to the correct repository in the archive. I don't have an old Fedora Core, so I can't be too explicit, but, generally speaking, you need to:
Locate the fedora-release RPM file for the release to which you wish to upgrade in the archived repositories.
Unpack the RPM file and edit the repository definition files to point to the correct archived repositories. (See below.) Note: This may be unnecessary if the changes were made when the repositories were archived.
Move the edited repository definition files to the /etc/yum.repros.d/ directory.
Move the fedora-release fine into /etc
Do a yum upgrade
Here's an example of the unpacking using an old FC7.3 relase file I found:
If the fedoa-release files have not been updated in the archive, you'll need to change the files in the new etc/yum.repos.d/ (created above by the cpio command) to have the baseurl entrypoint to the archive, and the mirrorlist entry commented out (since the mirrors are not, in most cases, archived).
Good luck, and (as I said, above) this exercise seems to be a monumental waste of your time. But, of course, it's yours to waste.
Last edited by PTrenholme; 11-10-2009 at 11:35 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.