How to Enable RPMforge-Extras

Posted on in System Administration

Yum LogoHistorically, the RPMforge repository has aimed to create add-on RPMs for RHEL, CentOS, and Scientific Linux. Although their goal was not to replace base packages, avoiding that has not always been possible. In mid-November 2010, RPMforge created the rpmforge-extras and moved all packages that replaced base packages into the repository. These packages are tagged with rfx. This repository is disabled by default.

<!--more-->

If you are a longtime RPMforge user, you may have suffered dependency problems now that some of your required packages have moved into the new repository. In order to fix the problem, you should enable the repository by editing the configuration file (/etc/yum.repos.d/rpmforge.repo) with your preferred text editor. In the [rpmforge-extras] section, change enabled = 0 to enabled = 1.

What looked like this on a RHEL5-based system:

[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

Should now look like this:

[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

Slaptijack's Koding Kraken