Subject: Re: [vserver] Error building guest system
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Sun, 30 May 2010 02:07:50 +0200

On Sat, May 29, 2010 at 10:02:37PM +0200, Guenther Fuchs wrote:
> Hi there,

> at Tue, April 14th 2009 at 15:17 Guenther wrote:

> GF> After internalization ... when using different yum versions /
> GF> libraries on host and guest)

> After some tries: I did not find an easy / simple way to solve this,
> but i had the problem previousely as well. As far as I now remember,
> this was due to yum 4.4.x / 4.5.x / 4.6.x mix up on guest/host.

> This problem is related to as well here:
> https://bugzilla.redhat.com/show_bug.cgi?id=523698
> http://rpm5.org/community/rpm-devel/1123.html

> As far as I interpreted from your posts and above two links one would
> need to us db_dump/db_load of the different versions to convert the
> Packages database to the needed version. As I'm unsure which versions
> you use where and already produced an destructive suggestion, I would
> guess you better find and try out yourself and hopefully get your
> solution by that hint ;-)

a 'solution' is actually quite simple, if you utilize
Linux-VServer (or simply chroot environments):

create two guests with the correct rpm versions and
install/use the dm_dump/db_load to dump/load the 
database in question ... (you can move the database
between guests from the host :)

best,
Herbert

> For myself the solution was in either up- or downgrading the yum/rpm
> on the guest or host (can't really remember which way on which side,
> but guess I downgraded on host side) which now brings me to an easy
> build situation both on test as on production anvironments (running
> debian on host, CentOS on several guests).

> -- 
> Greetings,
> 
> Guenther Fuchs