Home > Linux > Cannot find a valid baseurl for repo: core

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

{ 3 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.

Bernt March 16, 2010 at 3:56 am

@Atul: Well, you wouldn’t expect yum to find any updates if you disable the repository, would you?

When you set enabled=0, that is what you do.

Fedora Core 5 is no longer supported, and should not be used.

Leave a Comment

Previous post:

Next post: