LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-20-2012, 05:19 PM   #16
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651

the epel repo uses "basearch" in the mirror string
so 32 bit and 64 bit use the same file

odd
you uninstalled epel BUT it is still installed
manually remove them

i am guessing you might have 10 or 20 different epel.reop files in your " /etc/yum.repos.d " folder


because once you uninstall it
it should NOT still be installed

and post the output of this command
Code:
su -
yum repolist all
 
Old 10-21-2012, 03:13 AM   #17
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
Dear John,
Ok I tried the command also the same as below.

Quote:
yum repolist all
base | 3.7 kB 00:00
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
But below are the files for in /etc/yum.repos.d
Quote:
epel-testing.repo
epel.repo
CentOS-Vault.repo
CentOS-Media.repo
CentOS-Debuginfo.repo
CentOS-Base.repo
 
Old 10-22-2012, 01:00 PM   #18
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
Dear John,
Anything else that I must provide you please do let me know? Thank you.
 
Old 10-22-2012, 05:16 PM   #19
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
then REREAD post #16
to repeat and i QUOTE
Quote:
manually remove them

i am guessing you might have 10 or 20 different epel.reop files in your " /etc/yum.repos.d " folder

you DID uninstall ??? BUT you did not .
the output you posted above SHOWS you did not uninstall the epel repo
 
Old 10-24-2012, 09:50 AM   #20
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
Dear John,
Ok I went into the folder and just run the rm command for all those epel files and I am able to run yum update now. By just rm the files is considered uninstall is it? Thank you.
 
Old 10-24-2012, 02:49 PM   #21
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
no rm dose not uninstall

i am only guessing but you might have had a few different copies of the epel repo
or
you never unistalled all the different epel.rpeo rpms
 
Old 10-25-2012, 10:20 PM   #22
newbie14
Member
 
Registered: Sep 2011
Posts: 646

Original Poster
Rep: Reputation: Disabled
Dear John,
So I guess I must run yum remove the name of epel files in the /etc/yum.repos.d? Thank you for the help and appreciate most.
 
Old 12-18-2012, 06:43 AM   #23
ChrisHuman
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Rep: Reputation: Disabled
Hi,
I just found this googling the same problem. The difference is that I just built 3 machines with identical harware and identical setup, but one of them gave the error:

Quote:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
on yum update.

After trying to get the metadata directly with :

I got the error :

Quote:
ERROR: cannot verify mirrors.fedoraproject.org's certificate, issued by /C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA
Issued certificate not yet valid.
Which lead to the root of the real problem...
On Server 1 (working):

Quote:
date
Tue Dec 18 12:38:15 GMT 2012
On Server 3 (not working):
Quote:
date
Thu Dec 7 20:08:38 GMT 2006
So fixing the date, fixed the 'not yet valid certificate' error (which yum doesn't tell you about) and now yum updates.

Regards,
Chris.
 
Old 12-18-2012, 07:59 AM   #24
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by ChrisHuman View Post
After trying to get the metadata directly with :
Code:
wget https://mirrors.fedoraproject.org/metalink?repo=epel-6
Why do it that way? The documentation and nobody here suggested you should.


Quote:
Originally Posted by ChrisHuman View Post
I got the error :
Code:
ERROR: cannot verify mirrors.fedoraproject.org's certificate, issued by /C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA
 Issued certificate not yet valid.
Check the official EPEL-release package and you'll find the URIs are HTTP, not HTTPS?


Quote:
Originally Posted by ChrisHuman View Post
fixed the 'not yet valid certificate' error
So how did you "fix" that then?

* If you did it by setting "sslverify=0" in the repo file then why use SSL in the first place?
 
Old 12-18-2012, 09:26 AM   #25
ChrisHuman
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Why do it that way? The documentation and nobody here suggested you should.



Check the official EPEL-release package and you'll find the URIs are HTTP, not HTTPS?



So how did you "fix" that then?

* If you did it by setting "sslverify=0" in the repo file then why use SSL in the first place?


I came here from google from having the same problem. I read this thread and it wasn't solved.
My process was :

rpm -Uvh http://mirrors.coreix.net/fedora-epe...6-7.noarch.rpm
yum update
and then got:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again

running wget generally gives you a bit more information about the problem when it comes to eliminating download errors (not to install / fix / update anything).

Anyway, the point was that the date was wrong on the server, which is what was causing the error (for me anyway) and maybe it would be helpful for other people.
 
Old 12-18-2012, 09:45 AM   #26
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
...to answer my own question apparently the new epel-release repo file does default to using HTTPS.
 
Old 03-14-2013, 12:38 PM   #27
JCH@DVN
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
I had the same problem. I had installed the epel rpm using yum. After I removed it using yum erase and reinstalled using rpm, the problem went away.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
funny epel 404 error when adding repo borgy95 Linux - Software 3 08-24-2012 11:48 AM
Install phpMyAdmin on Linux Centos 6.2 without EPEL repo rewards Linux - Software 6 03-21-2012 03:51 PM
EPEL REPO - Problem agriz Linux - Server 2 12-01-2011 04:59 AM
epel repo centos 5.4 fernfrancis Linux - Newbie 12 10-02-2010 05:36 PM
yum not working with epel repo fw12 Red Hat 2 02-14-2010 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration