Wednesday, 11 March 2009

Cannot find a valid baseurl for repo: core

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

0 comments:

Post a Comment