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.
This commit is contained in:
Ben Hutchings 2018-12-25 19:53:32 +00:00
parent b051222e6d
commit 248736d493
2 changed files with 4 additions and 1 deletions

4
debian/changelog vendored
View File

@ -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 <ukleinek@debian.org> Sun, 23 Dec 2018 17:28:52 +0100
linux (4.19.12-1) unstable; urgency=medium

View File

@ -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@.