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. Thanks in advance. -- Steven Shiau
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
Hi Karanbir: Got it, no special reason for 4.3, so 4 is working. Thanks. -- Steven
Hi Karanbir: I suggest it's better to have releasever=4.3 work for the new mirrorlist, since releasever=4.3 is working with baseurl, i.e baseurl=http://mirror.centos.org/centos/4.3/os/i386/ It's better to be consistent that releasever=4.3 works with new mirrorlist, i.e. mirrorlist=http://mirrorlist.centos.org/?release=4.3&arch=i386&repo=os Thanks. -- Steven
Possibly Parallel Threads
- Could not retrieve mirror list while using yum command
- YUM FAILED AFTER YUM CLEANALL
- YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet
- Yum updates packages for other arch too
- problems installing parted tool