[CentOS] yum update problems

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


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












More information about the CentOS mailing list