Cannot find a valid baseurl for repo: core

by paul on March 10, 2009

I came across this error while trying to install a package on Fedora 5:

# yum install gd-devel
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
core [1/3]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core

The solution was relatively simple if obscure - I found it here.

I simply changed the enabled=1 to enabled=0 in:

/etc/yum.repos.d/fedora-core.repo
/etc/yum.repos.d/fedora-extras.repo
/etc/yum.repos.d/fedora-updates.repo

{ 2 comments… read them below or add one }

Atul Kaushik June 25, 2009 at 8:35 pm

I was getting the same URL error
I tried the above suggession but after that
when I install any package I got this response…plz help

Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: tcpdump
Nothing to do

Abhishek January 21, 2010 at 7:41 pm

I am trying to install tftp server and got the same error as Atul.
I used the suggestions given by Paul, but didnt work.

Leave a Comment

Previous post: Mplayer sound via SPDIF

Next post: Do you have that package installed