How to query the new style mirrorlist ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@icq

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux