Re: [vserver] Error building guest system

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sun 30 May 2010 - 01:07:50 BST
Message-ID: <20100530000750.GJ12578@MAIL.13thfloor.at>

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
Received on Sun May 30 01:08:03 2010

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 30 May 2010 - 01:08:08 BST by hypermail 2.1.8