Call us: 1-347-414-9117

Legacy versions of Fedora Core do not receive anymore support from their developers. Known legacy versions are Fedora Core 1 through 6. It is strongly recommended that you upgrade to a newer version of Fedora Core or to reinstall with CentOS or RHEL instead. Some applications, such as CPanel, require a working YUM repository to execute certain functions. Its important to find a legacy Fedora repository for the YUM configuration if reinstalling or upgrading is not a viable option.

First you need to find a Legacy Fedora repository from searching the net. Two most common repositories are http://fedoralegacy.org and http://fedoralegacy.lsu.edu. In this example I will be using the repository located at http://fedoralegacy.lsu.edu. The Legacy Fedora repositories are not garanteed to work and are hosted by third parties so please keep that in mind when modifiying your YUM configuration.

 

For safe keeping backup your /etc/yum.repos.d/ directory using the following commands

# mv /etc/yum.repos.d /etc/yum.repos.d.bak

# mkdir /etc/yum.repos.d

 

Now using your favorite text editor create a /etc/yum.repos.d/fedora-core.repo file and add the following text.

[core]
name=Fedora Core $releasever - $basearch
baseurl=http://fedoralegacy.lsu.edu/fedora/$releasever/os/$basearch/
enabled=1
gpgcheck=0

 

Next create a /etc/yum.repos.d/fedora-updates.repo file then add the following text.

[updates]
name=Fedora Core $releasever - $basearch - Updates
baseurl=http://fedoralegacy.lsu.edu/fedora/$releasever/updates/$basearch/
enabled=1
gpgcheck=0

 

Now execute the following commands looking for any errors.

# yum clean all

# yum update

 

If all is well the output on your screen should look like the following. (Assuming there are no current updates to install)

# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
core 100% |=========================| 951 B 00:00
updates 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 157 B 00:00
primary.xml.gz 100% |=========================| 157 B 00:00
No Packages marked for Update/Obsoletion

 

If you see the error "Error: Cannot find a valid baseurl for repo:" you may need to find another Legacy Fedora repository because the one in this example may have been shutdown.