[CentOS] How to query the new style mirrorlist ?

Karanbir Singh mail-lists at karan.org
Fri Apr 7 09:50:44 UTC 2006


Steven Shiau wrote:
> Hi,
>>From CentOS 4.3, I saw the yum repository setting
> /etc/yum.repos.d/CentOS-Base.repo
> is something like:
> --------------------
> mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
> --------------------
> Is that possible I can query the result by lynx ? I have a script to get
> the URL and path in old yum repository style, but broken in this. When I
> use "lynx http://mirrorlist.centos.org/?release=4.3&arch=i386&repo=os",
> it shows me "4.3 hasnt been released yet".
> I need to get the result like the baseurl style
> "http://free.nchc.org.tw/centos/$releasever/os/$basearch/"
> or a list of urls.
> 

The mirrorlist will only track against a Release, which in this case is
/4/ and not /4.3/

is there any specific reason you want to look at /4.3/ instead of /4/ ?

-- 
Karanbir Singh : http://www.karan.org/ : 2522219 at icq



More information about the CentOS mailing list