[users] CentOS Updates

Nigel Frankcom nigel at blue-canoe.com
Thu Sep 6 07:11:38 CEST 2007


On Thu, 6 Sep 2007 14:58:14 +1000, "Michael Mansour" <mic at npgx.com.au>
wrote:

>Hi,
>
>> Hi All,
>> 
>> Please excuse a question that may well have been asked many times
>> before, I'm new to this list.
>> 
>> Is there a problem with updates to the CentOS tree? I keep hitting 
>> the error:
>> 
>> Cannot find a valid baseurl for repo: rpmforge
>> Error: Cannot find a valid baseurl for repo: rpmforge
>
>This is not enough information to help you.
>
>You need to start looking at your:
>
>/etc/yum.repos.d
>
>directory and see what baseurl you are using for the rpmforge.repo file.
>
>Regards,
>
>Michael.
>
>> I get this on 32 & 64 bit OS's for CentOS 4.5 & 5.

Many thanks, from  your question I got it fixed. It was looking like
this...

[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el4/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1


I've now changed it to look like this...

[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el4/en/$basearch/dag
#mirrorlist = http://apt.sw.be/redhat/el4/en/mirrors-rpmforge
mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

All seems to work fine now.

Thanks again

Nigel


More information about the users mailing list