Bug#1037990: bookworm-pu: package nvidia-support/20220217+3~deb12u1
Package: release.debian.org
Severity: normal
Tags: bookworm
User: release.debian.org@packages.debian.org
Usertags: pu
[ Reason ]
Upgrades from bullseye to bookworm may fail while building kernel
modules with dkms if some obsolete nvidia-*-dkms packages (that have no
successor in bookworm) are still installed.
(The dkms hook in bookworm no longer returns success if building a
module has failed.)
Let's add some Breaks against them (to nvidia-installer-cleanup which
has the highest score from apt in these scenarios), to ensure the
obsolete packages (and anything depending on them) gets removed during
the upgrade to bookworm.
[ Impact ]
upgrade failures
[ Tests ]
lots of piuparts upgrade tests in my local piuparts instance (which
handles non-free, too)
[ Risks ]
low, only affect packages not in bookworm
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
+nvidia-support (20220217+3) unstable; urgency=medium
+
+ * nvidia-installer-cleanup: Add Breaks against obsolete nvidia-*-dkms
+ packages from bullseye that are incompatible with the bookworm kernel.
[ Other info ]
Andreas
diff --git a/debian/changelog b/debian/changelog
index 4fa6b49..15fda43 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+nvidia-support (20220217+3~deb12u1) bookworm; urgency=medium
+
+ * Rebuild for bookworm.
+
+ -- Andreas Beckmann <anbe@debian.org> Thu, 15 Jun 2023 10:37:21 +0200
+
+nvidia-support (20220217+3) unstable; urgency=medium
+
+ * nvidia-installer-cleanup: Add Breaks against obsolete nvidia-*-dkms
+ packages from bullseye that are incompatible with the bookworm kernel.
+
+ -- Andreas Beckmann <anbe@debian.org> Mon, 12 Jun 2023 16:55:42 +0200
+
nvidia-support (20220217+2) unstable; urgency=medium
[ Andreas Beckmann ]
diff --git a/debian/control b/debian/control
index 3947885..e51c7f0 100644
--- a/debian/control
+++ b/debian/control
@@ -31,6 +31,9 @@ Conflicts:
nvidia-current,
nvidia-current-updates,
nvidia-driver-binary,
+Breaks:
+ nvidia-tesla-418-kernel-dkms (<< 418.226.00-9~),
+ nvidia-tesla-460-kernel-dkms (<< 460.106.00-9~),
Description: cleanup after driver installation with the nvidia-installer
This package ensures that no remnants of the non-free NVIDIA graphics
drivers that were installed with the nvidia-installer remain on the
Reply to: