LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2009, 12:32 PM   #1
safaaa
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Unhappy Cannot find a valid baseurl for repo: epel-testing :redhat 5


HELLO everybody,
I'm new in linux ,I setup redhat 5 and I want to install zabbix ,but the problem is when I write yum --enablerepo=epel-testing install zabbix zabbix-agent zabbix-web for instance ,I've got :

Code:
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...pel5&arch=i386 error was
[Errno 4] IOError: <urlopen error (113, "Aucun chemin d'acc\xc3\xa8s pour atteindre l'h\xc3\xb4te cible")>
Cannot find a valid baseurl for repo: epel-testing
Please help me ,Thanks so much in advance.

Last edited by safaaa; 07-20-2009 at 12:35 PM.
 
Old 07-20-2009, 12:47 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Cannot find a valid baseurl for repo: epel-testing
Have you seen this similar problem?



RHN support will be disabled.
Please consider a community supported distribution like CentOS (RHEL with a different name.)

Side issue:
Quote:
linux ,I setup
You write really well - only the space comes after the punctuation, not before it.
 
Old 07-20-2009, 01:32 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
To use a Red Hat system you need to be a registered Red Hat user and pay for support. That's what the message
Quote:
This system is not registered with RHN.
RHN support will be disabled.
was telling you.

If you are not willing or able to pay for Red Hat support, the CentOS distribution is based on the RH system (without any RH or other propitiatory packages).
 
Old 07-21-2009, 01:54 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
@PTrenholme: That was my first reaction. But I noticed that Safaa was not trying to use redhat paid support methods, instead was attempting to use the free fedora enterprise (EPEL) repo which is designed just for this use. There is no compulsion to use RHEL with the paid support option - the message probably means that RHN repos are still enabled - that's all.

The error message of interest is:
Quote:
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...pel5&arch=i386 error was
[Errno 4] IOError: <urlopen error (113, "Aucun chemin d'acc\xc3\xa8s pour atteindre l'h\xc3\xb4te cible")>
Cannot find a valid baseurl for repo: epel-testing
Hmmm... that is a urlopen error - if that stuff in the brackets is a url, shouldn't it have forward slashes? Looking more closely: it seems to be French, saying there is "no way for d'acc\xc3\xa8s to access l'h\xc3\xb4te target" But I don't know what it is referring to. If I think d'acc means "account" then this message may mean that the computer is on a managed network and OP is not sysadmin? (eg. the network policy is not letting this computer connect to the repo url.) But that's a guess.

Try pinging the mirrorlist url?
Clean the yum cache, check the repo configuration, check the route etc.
It is also possible to set yum to use the core repo instead of going via the mirror list.
eg. follow advise in link, post #2

Of course - just not using epel-testing will work too.
 
Old 07-22-2009, 06:05 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Well, yes, but the epel packages are, I think, used to configure the YUM repositories for access to the "Extra Packages for Enterprise Linux," and, of course, the "extra" packages are, I believe, precisely the propitiatory packages for which you need to pay the fees -- even if you're accessing them from a Fedora installation.

I also believe (but haven't checked) that the eple-testing package is used to set your YUM repo definitions (and GPL keys) for access to packages in the pre-release, i.e., "testing," phase. (I think that's the case because I don't usually have the Fedora testing repositories active, and, when I searched for epel in yumex, all that was available was epel-release.)
 
Old 07-22-2009, 06:29 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
While the epel repo is available for free, it does assume that you have access to the base repo. So in order to use the epel repo (for most packages) you need access to the base repo(for dependencies).

Now, I think there is another issue. The link the OP posted does exist and is openly accessible. So there MAY be a rights issue(per Simon) or it may be that the OP is running through a proxy (more steps needed to make yum work).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Yum error: Cannot find a valid baseurl for repo: BogusTrumper Linux - Software 27 01-23-2013 05:06 PM
Cannot find a valid baseurl for repo: atomic jodie Linux - Newbie 1 06-10-2009 05:37 PM
Cannot find a valid baseurl for repo: base --- CentOS 5 Ascendancy5 Linux - Newbie 7 01-12-2009 07:55 AM
can't find a valid baseurl for repo: extras priyadarshi Fedora 2 06-19-2007 09:31 AM
Cannot find a valid baseurl for repo: core navy319510 Linux - Software 2 08-03-2006 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration