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 }
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
I am trying to install tftp server and got the same error as Atul.
I used the suggestions given by Paul, but didnt work.
@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.