Ian Campbell
2012-Jul-12 18:37 UTC
[Pkg-xen-devel] Bug#681376: Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy
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
Ian Campbell
2012-Jul-14 17:39 UTC
[Pkg-xen-devel] Bug#681376: Bug#681376: Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy
tags 681376 +patch thanks On Thu, 2012-07-12 at 12:37 -0600, Ian Campbell wrote:> 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.Perhaps inevitably this wasn't quite sufficient. The problem is that even if xen-hypervisor-amd64 becomes a real package on upgrade the dependency is already satisfied by xen-hypervisor-4.0-amd64 so apt doesn't do the upgrade. I can't really think of a solution for this in Wheezy. However what we can, and I think should, do for Wheezy is to add an explicit real package "xen-hypervisor-latest-ARCH". It will still require manual action on upgrade to Wheezy but things should then Just Work for Wheezy +1. Also the xen-linux-system-* packages should include the latest package as the preferred alternative. Ian. -------------- next part -------------- A non-text attachment was scrubbed... Name: linux.patch Type: text/x-patch Size: 1578 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120714/629be0d0/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: xen.patch Type: text/x-patch Size: 2747 bytes Desc: not available URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120714/629be0d0/attachment-0001.bin>
Debian Bug Tracking System
2012-Jul-14 17:51 UTC
[Pkg-xen-devel] Processed: Re: Bug#681376: Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy
Processing commands for control at bugs.debian.org:> tags 681376 +patchBug #681376 [src:xen] Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy Added tag(s) patch.> thanksStopping processing here. Please contact me if you need assistance. -- 681376: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681376 Debian Bug Tracking System Contact owner at bugs.debian.org with problems
Bastian Blank
2012-Jul-14 17:59 UTC
[Pkg-xen-devel] Bug#681376: Bug#681376: Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy
On Thu, Jul 12, 2012 at 12:37:52PM -0600, Ian Campbell wrote:> 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".Please show the actual error. The old versions should still work without problems. While this is no ideal state, it is not broken by itself. Wheezy will be the first release where there will be some sort of cross compatibility. So an automatic upgrade can work.> 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-i386There is no dependency for the utils package.> 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.There is no change from earlier releases, so it does not really need it. Bastian -- Fascinating, a totally parochial attitude. -- Spock, "Metamorphosis", stardate 3219.8
Ian Campbell
2012-Jul-14 18:17 UTC
[Pkg-xen-devel] Bug#681376: Bug#681376: Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy
On Sat, 2012-07-14 at 19:59 +0200, Bastian Blank wrote:> On Thu, Jul 12, 2012 at 12:37:52PM -0600, Ian Campbell wrote: > > 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". > > Please show the actual error. The old versions should still work without > problems. While this is no ideal state, it is not broken by itself.The error is that after upgrade the system has only the Squeeze version of Xen and not the new Wheezy version unless the administrator takes manual steps. They should not have to do this.> Wheezy will be the first release where there will be some sort of cross > compatibility. So an automatic upgrade can work. > > > 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 > > There is no dependency for the utils package.If the upgrade works correctly for xen-hypervisor-FOO then the matching utils will get installed due to the recommends from xen-hypervisor-4.1-FOO> > 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. > > There is no change from earlier releases, so it does not really need it.Well even better is if there is no manual step needed at all, which would be my preference. Ian.
Debian Bug Tracking System
2012-Jul-30 21:34 UTC
[Pkg-xen-devel] Bug#681376: marked as done (Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy)
Your message dated Mon, 30 Jul 2012 21:33:43 +0000 with message-id <E1Svxax-0006Xq-H8 at franck.debian.org> and subject line Bug#681376: fixed in xen 4.1.3~rc1+hg-20120614.a9c0a89c08f2-5 has caused the Debian Bug report #681376, regarding Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 681376: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681376 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Ian Campbell <ijc at hellion.org.uk> Subject: Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy Date: Thu, 12 Jul 2012 12:37:52 -0600 Size: 6951 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120730/d21d6b96/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Bastian Blank <waldi at debian.org> Subject: Bug#681376: fixed in xen 4.1.3~rc1+hg-20120614.a9c0a89c08f2-5 Date: Mon, 30 Jul 2012 21:33:43 +0000 Size: 9135 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120730/d21d6b96/attachment-0003.mht>
Thomas Goirand
2012-Jul-31 08:23 UTC
[Pkg-xen-devel] Bug#681376: Bug#681376: Xen hypervisor package not upgraded on dist-upgrade Squeeze to Wheezy
On 07/13/2012 02:37 AM, Ian Campbell wrote:> I have marked this bug important since I think failure to upgrade is "a > major effect on the usability of a package".A failure to upgrade might as well be considered a violation of the policy and deserve a Serious severity. I'd agree if this was an RC bug. On the upgrade from Lenny to Squeeze, we had the same trouble, having to manually apt-get install packages. It wouldn't be nice to have to write in the release notes *again*. Thomas
Maybe Matching Threads
- Processed: your mail
- clean wheezy, R intrigue, squeeze-cran3 requires liblzma2?
- Bug#680528: xcp-xapi: /etc/init.d/xendomains cause xapi to hand during boot
- Bug#685749: xen-utils-4.1: /usr/lib/xen-default missing
- Bug#680499: xcp-xapi: Http_client.Http_request_rejected during upgrade