LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-02-2006, 03:25 AM   #1
WOP1337
Member
 
Registered: Jul 2006
Location: Tustin, CA
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
yum error: Cannot find a valid baseurl for repo: core


yum was working great then im not sure what i did to mess it up but it happened.

i get:

yum list available
Loading "installonlyn" plugin
Setting up repositories
livna [1/7]
flash [2/7]
core [3/7]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core


# This is the fedorafaq.org yum.conf for Fedora Core 5.
#
# Note that you also need the rest of the configuration
# as described at http://www.fedorafaq.org/#yumconf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
# Don't check keys for localinstall
gpgcheck=0
plugins=1
metadata_expire=1800
# Changed this because some mirrors go down and then
# re-trying takes forever.
timeout=7


# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d



yum.repos.d:

total 160
drwxr-xr-x 2 root root 4096 Aug 2 00:13 ./
drwxr-xr-x 107 root root 12288 Aug 2 00:34 ../
-rw-r--r-- 1 root root 603 May 1 02:47 atrpms.repo
-rw-r--r-- 1 root root 320 May 1 03:24 dag.repo
-rw-r--r-- 1 root root 175 May 1 02:47 dries.repo
-rw-r--r-- 1 root root 840 Mar 14 15:20 fedora-core.repo
-rw-r--r-- 1 root root 1549 Mar 14 15:20 fedora-development.repo
-rw-r--r-- 1 root root 780 Mar 14 15:20 fedora-extras-development.repo
-rw-r--r-- 1 root root 763 Mar 14 15:20 fedora-extras.repo
-rw-r--r-- 1 root root 486 Mar 14 15:20 fedora-legacy.repo
-rw-r--r-- 1 root root 790 Mar 14 15:20 fedora-updates.repo
-rw-r--r-- 1 root root 865 Mar 14 15:20 fedora-updates-testing.repo
-rw-r--r-- 1 root root 219 May 9 08:46 flash.repo
-rw-r--r-- 1 root root 270 May 1 02:47 freshrpms.repo
-rw-r--r-- 1 root root 1064 May 1 03:24 jpackage.repo
-rw-r--r-- 1 root root 1602 May 1 02:47 kde-redhat.repo
-rw-r--r-- 1 root root 1904 Jul 18 14:49 livna-devel.repo
-rw-r--r-- 1 root root 1808 Jul 18 14:49 livna.repo
-rw-r--r-- 1 root root 2003 Jul 18 14:49 livna-testing.repo

after looking into the problem the best i could, i guess i just need a list of the mirrors in the yum.conf

if thats true then can someone paste for me a list of their mirrors. i dont know if there are different mirrors for the kind of distro i have so ill specify just in case: i use FC5 x86_64

thanks for any help
 
Old 08-03-2006, 03:05 AM   #2
WOP1337
Member
 
Registered: Jul 2006
Location: Tustin, CA
Distribution: Slackware
Posts: 40

Original Poster
Rep: Reputation: 15
common guys. i really think this problem is easy to fix. i just cant find good updated mirrors online. could someone please just post their yum.conf if they believe its a good one? thats all i really need i believe.
 
Old 08-03-2006, 06:51 AM   #3
lazyFoot_theMighty
LQ Newbie
 
Registered: Jul 2006
Location: Canberra Australia
Posts: 28

Rep: Reputation: 16
I was having the exact problem yesterday. I was going to fix it just now but until i saw this thread. I just started yumex and its fine again. I'd like to tell you how i fixed it but i don't know. The only things that happened was two system reboots and my router/modem was rebooted.
 
Old 08-03-2006, 07:29 AM   #4
lazyFoot_theMighty
LQ Newbie
 
Registered: Jul 2006
Location: Canberra Australia
Posts: 28

Rep: Reputation: 16
Sorry i read in another thread that they were working on the site. I might look like quite the fool. Anyway it should be fine now if you didnt already know.
 
Old 10-24-2006, 09:46 PM   #5
rsanluis
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
uncomment baseurl within .repo file to fix cannot find baseurl error

I just had this same problem and finally resolved it. My network connection has always been working and I kept on getting the error where it can't get a valid url for: core. I disabled the SE just in case. My network connection has always been working and I kept on getting the error where it can't get a valid url for: core. I disabled the SE just in case. What was wierd was after my base FC5 install, the baseurls in each repo file were commented out within the /etc/yum.repos.d directory: fedora-core.repo, fedora-updates.repo, fedora-extras.repo, fedora-development.repo,...etc. Just make sure you uncomment the baseurl so it can be visible again.

run yum right away and if it doesn't report any errors, you're good to go

Last edited by rsanluis; 10-24-2006 at 09:49 PM.
 
Old 10-25-2006, 05:54 PM   #6
Barno
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by rsanluis
I just had this same problem and finally resolved it. My network connection has always been working and I kept on getting the error where it can't get a valid url for: core. I disabled the SE just in case. My network connection has always been working and I kept on getting the error where it can't get a valid url for: core. I disabled the SE just in case. What was wierd was after my base FC5 install, the baseurls in each repo file were commented out within the /etc/yum.repos.d directory: fedora-core.repo, fedora-updates.repo, fedora-extras.repo, fedora-development.repo,...etc. Just make sure you uncomment the baseurl so it can be visible again.

run yum right away and if it doesn't report any errors, you're good to go

Sound Man that works. You know your stuff.
 
Old 10-25-2006, 09:36 PM   #7
tmccrick
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
It worked for me also!!
 
Old 10-26-2006, 07:09 AM   #8
megadamned
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
had same problem........

now it's fixed......many thnx!
 
Old 10-26-2006, 08:58 PM   #9
Lewer3
LQ Newbie
 
Registered: Oct 2006
Posts: 1

Rep: Reputation: 0
thanx

Quote:
Originally Posted by rsanluis
I just had this same problem and finally resolved it. My network connection has always been working and I kept on getting the error where it can't get a valid url for: core. I disabled the SE just in case. My network connection has always been working and I kept on getting the error where it can't get a valid url for: core. I disabled the SE just in case. What was wierd was after my base FC5 install, the baseurls in each repo file were commented out within the /etc/yum.repos.d directory: fedora-core.repo, fedora-updates.repo, fedora-extras.repo, fedora-development.repo,...etc. Just make sure you uncomment the baseurl so it can be visible again.

run yum right away and if it doesn't report any errors, you're good to go

i just tried to update after FC6 was released and i had errors with core about how the baseurl didnt work. then i did this and it really helped me.

thanx a lot

Last edited by Lewer3; 10-26-2006 at 08:59 PM.
 
Old 03-29-2007, 07:37 PM   #10
Ken Castania
LQ Newbie
 
Registered: Jan 2007
Posts: 20

Rep: Reputation: 0
YUM can't find base url

Sorry I'm so late to the party . . . 3/07

FTR, I run FC5.

I've been having trouble with yum *IF* the livna repository was enabled. Disable it and yum worked fine.

I started tinkering with it, decided to get a fresh copy of the livna.repo file; put that in, all was well. Then, decided I better download the rpm key from livna . . . yum couldn't find the base url. I did this several times -- you know, if once helps, eight times is twice as good (ddd)

Tried all kinds of things; figured Livna was down for a rest, etc. Tried later, same thing.

I just took a look at the livna.repo file: ALL urls were deleted. I KNOW they were there.

I put them in, ran yum ---- no problems.

Could the rpm key be doing this?

Ken
 
Old 09-04-2010, 08:06 PM   #11
hawkhm97
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
What is SE

rsanluis

Thanks for the information but, please let people know what SE is:

"I disabled the SE just in case. ". Is it defined as "Security-Enhanced Linux (SELinux)"

Thank you
 
  


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 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
local yum repo error shams Fedora 1 12-24-2005 11:28 PM
yumex-"Cannot find a valid baseurl for repo: base" corelover Fedora 1 04-08-2005 03:10 AM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM


All times are GMT -5. The time now is 10:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration