tags 711108 + patch thanks Untested patch attached.
It may also be interesting to notice that apt already attempts to prevent automatic removal of linux-tools matching an installed kernel, but fails, since it assumes a version format which is no longer in use: /etc/kernel/postinst.d/apt-auto-removal /etc/apt/apt.conf.d/01autoremove On 4 June 2013 at 21:03, Ben Hutchings <b...@decadent.org.uk> wrote: > On Tue, Jun 04, 2013 at 08:46:50PM +0200, Piotr Engelking wrote: >> Source: linux >> Severity: wishlist >> >> Please consider having the linux-image-${version}-* packages suggesting >> the matching linux-tools-${version} package. This would help users to keep >> them in sync. > > It might be a useful hint. However the linux-tools meta-package is > a more effective way to keep linux-tools-* up to date (unless you > install the kernel from experimental). > > Ben. > > -- > Ben Hutchings > We get into the habit of living before acquiring the habit of thinking. > - Albert Camus
diff --git a/debian/templates/control.image.type-plain.in b/debian/templates/control.image.type-plain.in index 29306e3..0c29b32 100644 --- a/debian/templates/control.image.type-plain.in +++ b/debian/templates/control.image.type-plain.in @@ -3,7 +3,7 @@ Provides: linux-modules-@abiname@@localversion@ Pre-Depends: debconf | debconf-2.0 Depends: kmod | module-init-tools, linux-base (>= 3~), ${misc:Depends} Recommends: firmware-linux-free (>= 3~), ${kernel:Recommends} -Suggests: linux-doc-@version@, debian-kernel-handbook +Suggests: linux-tools-@version@, linux-doc-@version@, debian-kernel-handbook Breaks: at (<< 3.1.12-1+squeeze1) Description: Linux @upstreamversion@ for @class@ The Linux kernel @upstreamversion@ and modules for use on @longclass@.