Re: Still having problem with epel

2014-01-06 Thread Paul Robert Marino
sounds like a bad mirror or an SSL issue.
Here are possible things on your host or network that can cause SSL
not to work correctly
1) your system clock is severely incorrect time by a few hours or days
this can cause an error because one of the systems thinks its a replay
attack.
2) you must have full forward and revers lookup of the DNS host name
and IP's in the servers and the CNAME on the reverse lookup of the IP
must match. this  can be caused by a caching DNS which ignores TTL's.



On Fri, Jan 3, 2014 at 2:21 AM, Mahmood Naderan nt_mahm...@yahoo.com wrote:
 As stated by Zvika, it seems that I have problem with https connections. So
 replacing https with http in epel.repo temporarily fixed the issue.


 Regards,
 Mahmood




Re: Still having problem with epel

2014-01-02 Thread John Lauro
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 nt_mahm...@yahoo.com 
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-6arch=$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-6arch=$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-6arch=$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 




Re: Still having problem with epel

2014-01-02 Thread Orion Poplawski
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-6arch=$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-6arch=x86_64'



-- 
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  or...@cora.nwra.com
Boulder, CO 80301  http://www.cora.nwra.com


Re: Still having problem with epel

2014-01-02 Thread Mahmood Naderan
As stated by Zvika, it seems that I have problem with https connections. So 
replacing https with http in epel.repo temporarily fixed the issue.


 
Regards,
Mahmood

Still having problem with epel

2014-01-01 Thread Mahmood Naderan
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-6arch=$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-6arch=$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-6arch=$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