How to fix yum install not valid release error on Centos 5

Posted by Tomaszs on Server Fault See other posts from Server Fault or by Tomaszs
Published on 2010-05-12T12:22:49Z Indexed on 2010/05/12 12:25 UTC
Read the original article Hit count: 336

Filed under:
|
|
|

When I try to yum install anything I get:

-bash-3.2# yum install strace
Loading "fastestmirror" plugin
Determining fastest mirrors
 * dag: apt.sw.be
 * lxlabsupdate: download.lxlabs.com
 * rpmforge: fr2.rpmfind.net
 * lxlabslxupdate: download.lxlabs.com
YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5.2 is not a valid release or hasnt been released yet
removing mirrorlist with no valid mirrors: //var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

How to fix it?

© Server Fault or respective owner

Related posts about centos

Related posts about centos5