Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 11-05-2007, 06:16 AM   #1
LQ Newbie
Registered: Nov 2007
Posts: 6

Rep: Reputation: 1
YUM: missing baseurl

I've just installed Fedora 6 and am having problems getting YUM and Software Updater to work properly. For instance, the extract below shows the "Error: Cannot find a valid baseurl for repo: core" error which is exactly the same error I get with Software Updater:

[root@tntukl20943l etc]# su -c 'yum grouplist'
Loading "installonlyn" plugin
Setting up Group Process
Setting up repositories
Could not retrieve mirrorlist error was
[Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Error: Cannot find a valid baseurl for repo: core

Any ideas anyone?

Old 11-05-2007, 06:27 AM   #2
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Looks like your yum repo might have an error in it...

Edit the file /etc/yum.repos.d/fedora.repo .

There should be three sections in it; [fedora], [fedora-debuginfo], and [fedora-source].

In the [fedora] section, there will be a line that starts with "mirrorlist=". Mine says...
Put a "#" in front of yours, and add mine as a new line below it. Run yum to see if it works. If it does work, go back in and delete the original mirrorlist line.

If it doesn't work, you can go back in, delete mine, and then delete the "#" in front of the line that starts with "baseurl=". It should be a couple above the mirrorlist line.

Hopefully, one of those suggestions will work.
Old 11-05-2007, 06:42 AM   #3
LQ Newbie
Registered: Nov 2007
Posts: 6

Original Poster
Rep: Reputation: 1
Hmm, actually I think I've found my problem. My http_proxy wasnt right, I've corrected that and now a full yum update seems to be progressing!

Thanks anyway!


fedora, mirror, repository, yum

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 04:06 PM
yum 2.0.7 and Cannot find baseurl or name for server 'base'. Skipping tomerbd Linux - Software 5 04-19-2007 01:49 AM
yum: baseurl not found aparna8419 Linux - Networking 0 04-11-2007 06:58 AM
Yum core repo baseurl issue ian0115 Linux - Software 1 07-03-2006 01:08 AM
Yum baseurl error for some repos chuck0 Linux - Software 6 03-03-2006 08:41 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:19 AM.

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