[PATCH 1/1] UBUNTU: add Breaks: against hardy lvm2

Andy Whitcroft apw at canonical.com
Wed Apr 7 10:05:43 UTC 2010


BugLink: http://bugs.launchpad.net/bugs/528155

Installing lucid kernel on to a Hardy system which uses lvm2 will result in
an unbootable system.  While this is not supported per-see it is possible
to get into this combination with an interrupted upgrade.  It is easy to
avoid by ensuring lvm2 gets upgraded first via a Breaks: directive.

Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 debian.master/control.d/flavour-control.stub |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/debian.master/control.d/flavour-control.stub b/debian.master/control.d/flavour-control.stub
index ccde915..a2d2a4d 100644
--- a/debian.master/control.d/flavour-control.stub
+++ b/debian.master/control.d/flavour-control.stub
@@ -29,6 +29,7 @@ Pre-Depends: dpkg (>= 1.10.24)
 Provides: linux-image, linux-image-2.6, fuse-module, =PROVIDES=
 Depends: ${misc:Depends}, ${shlibs:Depends}, initramfs-tools (>= 0.36ubuntu6), coreutils | fileutils (>= 4.0), module-init-tools (>= 3.3-pre11-4ubuntu3), wireless-crda
 Conflicts: hotplug (<< 0.0.20040105-1)
+Breaks: lvm2 (<< 2.02.54-1ubuntu3)
 Recommends: BOOTLOADER
 Suggests: fdutils, SRCPKGNAME-doc-PKGVER | SRCPKGNAME-source-PKGVER, SRCPKGNAME-tools
 Description: Linux kernel image for version PKGVER on DESC
-- 
1.7.0





More information about the kernel-team mailing list