[Pkg-xen-devel] Bug#685749: xen-utils-4.1: /usr/lib/xen-default missing

Oliver debian at Seufer.DE
Fri Aug 24 08:38:56 UTC 2012


Subject: xen-utils-4.1: /usr/lib/xen-default missing
Package: xen-utils-4.1
Version: 4.1.3-1
Severity: important

Dear Maintainer,

when using paravirtualization with xen and libvirt the path for pygrub is:
/usr/lib/xen-default/bin/pygrub

But this path is not provided with xen-utils-4.1 and will brake upgrades to
wheezy.

With xen-utils-4.0 and debian squeeze this path is provided with
update-alternatives in the postinst Skript.

With xen-utils-4.1 the alternative command in the postinst script removes
xen-default. Why?

This patch fixes the problem:
--- xen-utils-4.1.postinst      2012-08-17 11:47:00.000000000 +0200
+++ xen-utils-4.1.postinst.new  2012-08-24 10:35:12.000000000 +0200
@@ -4,7 +4,7 @@
 
 case "$1" in
     configure)
-        update-alternatives --remove xen-default /usr/lib/xen-4.1
+        update-alternatives --install /usr/lib/xen-default xen-default /usr/lib/xen-4.1 1 || true
         if [ -x "/etc/init.d/xen" ]; then
            invoke-rc.d xen start || exit $?
         fi

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/24 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages xen-utils-4.1 depends on:
ii  e2fslibs          1.42.5-1
ii  libc6             2.13-33
ii  libgnutls26       2.12.20-1
ii  libncurses5       5.9-10
ii  libpci3           1:3.1.9-5
ii  libtinfo5         5.9-10
ii  libuuid1          2.20.1-5.1
ii  libxen-4.1        4.1.3-1
ii  libxenstore3.0    4.1.3~rc1+hg-20120614.a9c0a89c08f2-4
ii  python            2.7.3~rc2-1
ii  python2.7         2.7.3~rc2-2.1
ii  xen-utils-common  4.1.3-1
ii  zlib1g            1:1.2.7.dfsg-13

Versions of packages xen-utils-4.1 recommends:
ii  bridge-utils                           1.5-4
pn  qemu-keymaps                           <none>
pn  qemu-utils                             <none>
ii  xen-hypervisor-4.1-amd64 [xen-hypervi  4.1.3~rc1+hg-20120614.a9c0a89c08f2-4

Versions of packages xen-utils-4.1 suggests:
pn  xen-docs-4.1  <none>

-- no debconf information



More information about the Pkg-xen-devel mailing list