Error Message:-
http://apt.sw.be/redhat/el5/en/i386/rpmforge/repodata/repomd.xml:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403"
About
RPMForge:-
RPMforge (now called
Repoforge) is a repository of software packages for Redhat Enterprise Linux and
its derivatives like CentOS and Scientific Linux. It provides
many packages in the rpm package format to these distributions.
RPMforge also had many RPM packages available for old products like Red Hat 8 after these
products were no longer supported by their vendors. You can still use them with package Management products like apt-get, yum as up2date
does not work anymore due to expired SSL keys.
Solution:-
To
resolve above error message please refer the following steps.
We need to modify in two main file.
1)/etc/yum.repose.d/rpmforge.
Before modify file
details are as follows:-
### Name: RPMforge RPM Repository for RHEL 5 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net -
dag
baseurl =
http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
mirrorlist
= http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist
= file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey =
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
[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
[rpmforge-testing]
name = RHEL $releasever - RPMforge.net -
testing
baseurl =
http://apt.sw.be/redhat/el5/en/$basearch/testing
mirrorlist =
http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-testing
#mirrorlist =
file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey =
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
After
Modify in same file:-
### Name: RPMforge RPM Repository for
RHEL 5 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net -
dag
baseurl =
http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
#mirrorlist
= http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
mirrorlist
= file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
[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
[rpmforge-testing]
name = RHEL $releasever - RPMforge.net -
testing
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/testing
mirrorlist =
http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-testing
#mirrorlist =
file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey =
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
2) /etc/yum.repos.d/mirrors-rpmforge
Add following lines:-
pt.sw.be/redhat/el5/en/$ARCH/rpmforge
|
#outdated#http://archive.cs.uu.nl/mirror/dag.wieers/redhat/el5/en/$ARCH/rpmforge
|
#outdated#http://ftp2.lcpe.uni-sofia.bg/freshrpms/pub/dag/redhat/el5/en/$ARCH/rpmforge
|
#identical#http://ftp.heanet.ie/pub/freshrpms/pub/dag/redhat/el5/en/$ARCH/rpmforge
|
http://ftpstud.fhtesslingen.de/dag/redhat/el5/en/$ARCH/rpmforge
|
#outdated#http://mirror.cpsc.ucalgary.ca/mirror/dag/redhat/el5/en/$ARCH/rpmforge
|
#outdated#http://mirrors.ircam.fr/pub/dag/redhat/el5/en/$ARCH/rpmforge
|
#outdated#http://rh-mirror.linux.iastate.edu/pub/dag/redhat/el5/en/$ARCH/rpmforge
|
http://fr2.rpmfind.net/linux/dag/redhat/el5/en/$ARCH/rpmforge
|
#outdated#http://wftp.tu-chemnitz.de/pub/linux/dag/redhat/el5/en/$ARCH/rpmforge
|
#outofsync#http://www.mirrorservice.org/sites/apt.sw.be/redhat/el5/en/$ARCH/rpmforge
|
****After
modification in above two file, you can try to install any type packages
by using yum.****
No comments:
Post a Comment