WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] centos4.5(domU) on etch(dom0)

To: "Igor Chubin" <igor@xxxxxxx>
Subject: Re: [Xen-users] centos4.5(domU) on etch(dom0)
From: "Chris Fanning" <christopher.fanning@xxxxxxxxx>
Date: Tue, 4 Dec 2007 17:33:38 +0100
Cc: Xen users mailing list <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 04 Dec 2007 08:34:41 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=0Bi1U8tAO0uqzGIHoG/2zCBy65hdGa4mYBazZFDuouQ=; b=I0Onk183ZTOThV+pCA40H61sZjZpaN7c4LYMHP38CecpBdXGfxd0nMx/LF5YflCicdN/43y0UqGCzUN6VBbGU5nSnsi8+lRBlVBW4fct1j/2wXNdA4+t1bKLXbUTeOe5S5lb/p2HUNHmsPul8R8rwgZEGfjotdTzXOtpi48QJY4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JEmo7CnuF3mF1aGybeaD/AkXUk8cJLmNABud9unBi6uxjNTomVHbSWDMg69p3AFeZCzZTvSGz5ID8FC5n5pojP6ZapMmLnIZN8FNALkv6PhgeoG/s8+JoOLnHl+MusmluHySuWBfj3AmQkMwynGBpgyVR7LJQ4F2Fx8/FI8T1TA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071204155914.GC16190@xxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <215ff4410711300946i4fb06108y13411967a9a9a2ac@xxxxxxxxxxxxxx> <20071201195804.GV6702@xxxxxxx> <215ff4410712040144n48f0924br85d9f80cc04ade23@xxxxxxxxxxxxxx> <20071204155914.GC16190@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,


> Chris,
>
>
> you have to copy file comps.py to comps.py.ORIG
>
> > > # cp /usr/share/python-support/yum/yum/comps.py{,.ORIG}
>
> edit file comps.py:
> > > # vi /usr/share/python-support/yum/yum/comps.py
>
>
> and after that changes between the old and the new file
> found by diff must be like show below:
>
> > > # diff /usr/share/python-support/yum/yum/comps.py{.ORIG,}
>
> 124c124
> <                 if type not in ('mandatory', 'default', 'optional'):
> ---
> >                 if type not in ('mandatory', 'default', 'optional', 
> > 'conditional'):
> 143c143
> <                 if type not in ('mandatory', 'default', 'optional'):
> ---
> >                 if type not in ('mandatory', 'default', 'optional', 
> > 'conditional'):
>
> (so, you must substitute
>
>     if type not in ('mandatory', 'default', 'optional'
>
> with
>
>     if type not in ('mandatory', 'default', 'optional', 'conditional'):
>
> )
>
> and after that make a try.

Yes. I understood correctly.

>
>
>
> As far as I can understand you have done this already
> but without success.
> Am I right?
You you are right.
But I think I hace succeeded (but perhaps not very elegantly).
I created a file /etc/yum.repos.d/CentOS-Base.repo with this content
http://gatopelao.org/downloads/CentOS-Base.repo

I also edited /etc/yum.conf (although I don't know if it's necessary)
----------------------
[base]
name=Centos 4.5 - $basearch - Base
baseurl=http://mirror.centos.org/centos/4.5/os/i386/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4.5

#released updates
[update]
name=CentOS-4.5 - Updates
baseurl=http://mirror.centos.org/centos/4.5/updates/i386/
----------------------

then did
# yum update
# yum grouplist

then
yum --installroot=/mnt -y groupinstall Base

I haven't touched redhat since redhat7.3 and am quite lost. But it is
installing into /mnt at the moment. :)

If I understand right, your example suggests that I shouldn't need to
touch /etc/yum*

Chris.

>
>
> --
> WBR, i.m.chubin
>
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users