On 01/02/2014 12:39 AM, Mahmood Naderan wrote: > 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 >
Strange. Can you download the metalink file directly? curl 'https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64' -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA Division FAX: 303-415-9702 3380 Mitchell Lane or...@cora.nwra.com Boulder, CO 80301 http://www.cora.nwra.com