Those instructions look like they are for centos. Try:
yum install yum-conf-epel
instead of wget/rpm
Did you use
yum install yum-conf-rpmfusion
- Original Message -
From: "Mahmood Naderan"
To: scientific-linux-users@fnal.gov
Sent: Thursday, January 2, 2014 2:39:35 AM
Subject: Still having problem with epel
Hi,
Recently I have faced a problem with epel repository ad asked a question about
that. That thread was messy so I decided to create a simpler scenario.
I have followed the instructions from
http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x
and downloaded the rpm file. However the epel repository doesn't work for me.
If I remove it, then everything is normal. Please see the commands
# wget
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
--2014-01-02 11:07:27--
http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Resolving dl.fedoraproject.org... 209.132.181.23, 209.132.181.24,
209.132.181.25, ...
Connecting to dl.fedoraproject.org|209.132.181.23|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14540 (14K) [application/x-rpm]
Saving to: "epel-release-6-8.noarch.rpm"
100%[>]
14,540 59.5K/s in 0.2s
2014-01-02 11:07:33 (59.5 KB/s) - "epel-release-6-8.noarch.rpm"
# rpm -Uvh epel-release-6-8.noarch.rpm
Preparing... ### [100%]
1:epel-release ### [100%]
# ls -1 /etc/yum.repos.d/epel*
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/epel-testing.repo
# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
# yum makecache
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path
and try again
# rpm -qa | grep epel
rpm epel-release-6-8.noarch
# rpm -e epel-release-6-8.noarch
# yum makecache
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* sl: ftp2.scientificlinux.org
* sl-security: ftp2.scientificlinux.org
sl | 3.5 kB 00:00
sl-livecd-extra | 1.4 kB 00:00
sl-security | 3.0 kB 00:00
Metadata Cache Created
So, how can I resolve the issue?
Regards,
Mahmood