<div class="gmail_quote">2009/4/26 Sam Piippo <span dir="ltr"><<a href="mailto:sampiippo@gmail.com">sampiippo@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
After installing clean Centos 5.3 and updating with "yum update" yum starts to fail. I get the following error message<br><br><br>YumRepo Error: All mirror URLs are not using ftp, http[s] or file.<br> Eg. 7 is not a valid release or hasnt been released yet/<br>

removing mirrorlist with no valid mirrors: //var/cache/yum/base/mirrorlist.txt<br><br>It looks like the $releasever variable has value 7. Why does this happen and how do I fix this?<br></blockquote><div><br>Check that distroverpkg in /etc/yum.conf is redhat-release, if it is, check that centos-release is the only package providing redhat-release by running rpm -q --whatprovides redhat-release, you should see<br>
<br>centos-release-5-3.el5.centos.1<br><br>which shows a single package and the version is 5, this is what yum uses to determine releasever... Do you have another package installed that also provides redhat-release?<br><br>
d <br> <br></div></div><br>