[CentOS] yum update problems

Sat Oct 15 13:26:02 UTC 2005
Karanbir Singh <mail-lists at karan.org>

William Warren wrote:
> I am curious.  Could i just substitute the ftp for http?  I like the 
> releasever variable as it means that every time a new version comes out 
> i don't have to go editing my conf file.
> 
>> The best resolution for this often asked question is : use an ftp mirror.
>>

sure you can, $releasever and $basearch are always resolved in yum's 
config files, for any type of url in the baseurl= field.

so you could have a 
baseurl=ftp://ftp.somehost.come/centos/$releasever/os/$basearch/


- K