[CentOS] Using yum with CentOS-2 mirrors

Mon Sep 28 03:17:50 UTC 2009
Matt Arnilo S. Baluyos (Mailing Lists) <matt.baluyos.lists at gmail.com>

On Fri, Sep 25, 2009 at 8:16 AM, Karanbir Singh <mail-lists at karan.org> wrote:
> On 24/09/09 07:41, Matt Arnilo S. Baluyos (Mailing Lists) wrote:
>> I was having yum errors while updating our CentOS-2 box. Further
>> reading lead me to a readme file on the mirrors
>> (http://mirror.centos.org/centos-2/readme.txt) and it gave me the new
>> URL to use for CentOS-2 mirrors.
>
> what did you have as the baseurl earlier and what have you changed it to
> now ?

Hi Karan,

This is the current /etc/yum.conf:

[root at odx root]# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest

[base]
name=CentOS-2 base
baseurl=http://mirror.centos.org/centos-2/i386/CentOS/
;baseurl=http://vault.centos.org/2.1/final/i386/CentOS/

[updates]
name=CentOS-2 updates
baseurl=http://mirror.centos.org/centos-2/updates/
;baseurl=http://vault.centos.org/2.1/updates/i386/

;[extras]
;name=CentOS-2 extras
;baseurl=http://mirror.centos.org/centos-2/extras/

Note that I have reverted the URLs back to their default, the
commented lines are what I tried earlier to be able to use the
archived CentOS-2 mirrors.



-- 
Stand before it and there is no beginning.
Follow it and there is no end.
Stay with the ancient Tao,
Move with the present.