[xen-tools] Re: some ubuntu machines may need libc6-xen installed in bootstrap...

Steve Kemp steve at steve.org.uk
Sun Jul 22 23:35:51 CEST 2007


On Sun Jul 22, 2007 at 17:28:07 -0400, Andrew Sutherland wrote:

> The unpack stage segfaults like so:
> 
> ---
> Unpacking libc6-xen (from .../libc6-xen_2.5-0ubuntu14_i386.deb) ...
> Segmentation fault
> dpkg: error processing
> /var/cache/apt/archives/libc6-xen_2.5-0ubuntu14_i386.deb
> (--unpack):
>  subprocess pre-installation script returned error exit status 139
> ---

  That isn't good!  Do you have any idea why this fails?  An strace
 or similar might help track it down...

> I have hacked around this by modifying xt-install-image's do_debootstrap
> to understand deb_include/deb_exclude/deb_components configuration
> values which are propagated to debootstrap's respective
> --include/--exclude/--components.

  That seems like a reasonable approach to me, though as you say not
 a perfect solution.

  There should be a better way of handling this, but with the different
 installation methods (debootstrap, rinse, rpmstrap) this could be
 tricky.  I'd prefer something that mapped nicely to each other
 even it if was something like:

    exclude-packages = libc6-xen, less, bash

  For the debootstrap case that could be passed to "--exclude" cleanly
 enough.  For the other cases I think it is probably OK to ignore the
 issue for the moment.

  Off the top of my head I'm not sure why you need to specify "main",
 "universe", etc.  It should be sufficient to just have a package
 blacklist - but maybe I'm being dense...

> PS: Thanks for the excellent project; it has greatly simplified what
> would otherwise be an extended hassle.

  I'm glad it is useful :)

  There will be a new release once the rinse software makes it to
 Debian's unstable tree.  At that point I think I will remove all
 mention of rpmstrap - on the grounds that it is broken and will
 be superseded..

Steve
-- 
# Commercial Debian GNU/Linux Support
http://www.linux-administration.org/






More information about the xen-tools-discuss mailing list