[Pkg-xen-devel] Bug#681376: Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy

Ian Campbell ijc at hellion.org.uk
Thu Jul 12 18:37:52 UTC 2012


Package: src:xen
Severity: important
Version: 4.1.3~rc1+hg-20120614.a9c0a89c08f2-2

I recently upgrade from Squeeze to Wheezy on a system which had the
xen-linux-system-686-pae metapackage (one of two which Provides:
xen-linux-system). After dist-upgrade I had the new xen-utils-common and
xenstore-utils (and a few others) but not the xen-utils-4.1 or
xen-hypervisor-4.1-i386 or xen-hypervisor-amd64 package. (dpkg -l
"*xen*" output is below).

I have marked this bug important since I think failure to upgrade is "a
major effect on the usability of a package".

I think this is because the dependency chain is:
xen-linux-system-686-pae
 -> xen-linux-system-3.2.0-3-686-pae
   -> xen-hypervisor-amd64 | xen-hypervisor-i386

Where xen-hypervisor-{amd64,i386} are virtual packages provided by the
real xen-hypervisor-{4.0,4.1}-{amd64,i386}. The problem seems to be that
the Depends remains satisfied by the 4.0 version and therefore the 4.1
version is not installed as expected.

One possible solution would be to turn those virtual packages into real
ones, at which point I expect the versioning would cause the expected
upgrade. I hope to take a look at this soon and check that it actually
works. I notice that linux-image-amd64 (the approx equivalent to
xen-hypervisor-amd64 for the kernel) is not pure virtual so I think this
makes sense..

At the very least this issue needs to be added to the release notes
since the is currently an extra manual step required during upgrade.

Ian.


root at calder:~# dpkg -l "*xen*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version                         Description
+++-===============================-===============================-==============================================================================
ii  libc6-xen:i386                  2.13-33                         Embedded GNU C Library: Shared libraries [Xen version]
ii  libxen-4.1                      4.1.3~rc1+hg-20120614.a9c0a89c0 Public libs for Xen
ii  libxenstore3.0                  4.1.3~rc1+hg-20120614.a9c0a89c0 Xenstore communications library for Xen
un  linux-image-2.6-xen-686         <none>                          (no description available)
ii  linux-image-2.6.32-5-xen-686    2.6.32-45                       Linux 2.6.32 for modern PCs, Xen dom0 support
un  linux-modules-2.6.32-5-xen-686  <none>                          (no description available)
un  xen-docs-4.0                    <none>                          (no description available)
un  xen-hypervisor                  <none>                          (no description available)
un  xen-hypervisor-4.0              <none>                          (no description available)
ii  xen-hypervisor-4.0-amd64        4.0.1-4                         The Xen Hypervisor on AMD64
rc  xen-hypervisor-4.0-i386         4.0.1-4                         The Xen Hypervisor on i386
un  xen-hypervisor-amd64            <none>                          (no description available)
un  xen-hypervisor-i386             <none>                          (no description available)
un  xen-linux-system                <none>                          (no description available)
ii  xen-linux-system-2.6-xen-686    3.2+45                          Xen system with Linux for modern PCs (dummy package)
ii  xen-linux-system-2.6.32-5-xen-6 2.6.32-45                       Xen system with Linux 2.6.32 on modern PCs (meta-package)
ii  xen-linux-system-3.2.0-3-686-pa 3.2.21-3                        Xen system with Linux 3.2 on modern PCs (meta-package)
ii  xen-linux-system-686-pae        3.2+45                          Xen system with Linux for modern PCs (meta-package)
un  xen-qemu-dm                     <none>                          (no description available)
ii  xen-qemu-dm-4.0                 4.0.1-2+squeeze1                Xen Qemu Device Model virtual machine hardware emulator
un  xen-tools                       <none>                          (no description available)
un  xen-utils                       <none>                          (no description available)
ii  xen-utils-4.0                   4.0.1-4                         XEN administrative tools
ii  xen-utils-common                4.1.3~rc1+hg-20120614.a9c0a89c0 Xen administrative tools - common files
ii  xenstore-utils                  4.1.3~rc1+hg-20120614.a9c0a89c0 Xenstore utilities for Xen







More information about the Pkg-xen-devel mailing list