From 248736d493fcfd0e05cd23f97befe40f5c125c71 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Tue, 25 Dec 2018 19:53:32 +0000 Subject: [PATCH] linux-image-*-unsigned: Remove Provides field (Closes: #916927) In unstable, linux-image-*-unsigned packages and any corresponding metapackage updates tend to be available a few hours before the corresponding signed packages. An automatic upgrade with aptitude (at least) may then install the unsigned kernel where a signed kernel was previously used, resulting in boot failure. I gave the linux-image-*-unsigned packages a Provides relation to the unsuffixed (i.e. signed) package name because I thought packages built by module-assistant generally depended on the corresponding kernel package. That may have been true once but doesn't appear to be so now. So the Provides field can be harmful and doesn't appear to be useful, and should be removed. --- debian/changelog | 4 ++++ debian/templates/control.image-unsigned.in | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 05371eb78..da1cbe21d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,13 @@ linux (4.19.12-2) UNRELEASED; urgency=medium + [ Uwe Kleine-König ] * [armhf] enable some kconfig items for Allwinner SoCs (SUNXI_CCU=y, SUN8I_DE2_CCU=y, DRM_SUN8I_DW_HDMI=m, SND_SUN8I_CODEC=m, SND_SUN8I_CODEC_ANALOG=m). (Closes: #915899) + [ Ben Hutchings ] + * linux-image-*-unsigned: Remove Provides field (Closes: #916927) + -- Uwe Kleine-König Sun, 23 Dec 2018 17:28:52 +0100 linux (4.19.12-1) unstable; urgency=medium diff --git a/debian/templates/control.image-unsigned.in b/debian/templates/control.image-unsigned.in index 6a1fb1fa0..8f149c4b6 100644 --- a/debian/templates/control.image-unsigned.in +++ b/debian/templates/control.image-unsigned.in @@ -5,6 +5,5 @@ Recommends: firmware-linux-free, ${kernel:Recommends} Suggests: linux-doc-@version@, debian-kernel-handbook Conflicts: linux-image-@abiname@@localversion@ Replaces: linux-image-@abiname@@localversion@ -Provides: linux-image-@abiname@@localversion@ Description: Linux @upstreamversion@ for @class@ The Linux kernel @upstreamversion@ and modules for use on @longclass@.