[CentOS] Error with yum and mirrors in 4.2

Karanbir Singh mail-lists at karan.org
Fri Nov 11 16:11:39 UTC 2005


iagosineiro at yahoo.es wrote:
> 
> Hi.
> 
> After installing CentOS 4.2 and importing GPG key I executed:
> 
> Yum list updates
> 
> Setting up repositories
> Hppt://mirror.centos.org/centos4/updates/i386/repodata/repomd.xml: [Errno 4]

this is an invalid URL. there is no /centos4/ did you modify the 
CentOS-Base.repo file ?

the correct baseurl= line should look like this :

baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/

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



More information about the CentOS mailing list