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

Ian Campbell ijc at hellion.org.uk
Sat Jul 14 19:13:39 UTC 2012


On Sat, 2012-07-14 at 12:24 -0600, Ian Campbell wrote:
> On Sat, 2012-07-14 at 20:03 +0200, Bastian Blank wrote:
> > On Sat, Jul 14, 2012 at 11:39:01AM -0600, Ian Campbell wrote:
> > > 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.
> > 
> > This can be fixed by adding a version, like "(>> 0)"
> 
> I'll try this. I'd worry about it causing the 4.0 version to be
> uninstalled too which would not be preferable, but we'll see.

This worked properly and didn't mess with the 4.0 version either, thanks
for the tip -- I had actually read the bit of policy about versioned
Depends ignoring Provides this morning but >>0 didn't occur to me.

New patches attached.

Ian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux.patch
Type: text/x-patch
Size: 1601 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120714/ba562681/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen.patch
Type: text/x-patch
Size: 3043 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20120714/ba562681/attachment-0001.bin>


More information about the Pkg-xen-devel mailing list