This bug was fixed in the package dkms - 3.0.10-7ubuntu2.1
--------------- dkms (3.0.10-7ubuntu2.1) lunar; urgency=medium
* Unsupported DKMS modules break kernel header installation if compilation fails. Handle this by ignoring autoinstall errors if a release upgrade is in progress or if the file /etc/dkms/no-autoinstall-errors exists (LP: #2028366).
-- Juerg Haefliger <email address hidden> Tue, 25 Jul 2023 16:29:26 +0200
This bug was fixed in the package dkms - 3.0.10-7ubuntu2.1
---------------
dkms (3.0.10-7ubuntu2.1) lunar; urgency=medium
* Unsupported DKMS modules break kernel header installation if compilation no-autoinstall- errors exists
fails. Handle this by ignoring autoinstall errors if a release upgrade is
in progress or if the file /etc/dkms/
(LP: #2028366).
-- Juerg Haefliger <email address hidden> Tue, 25 Jul 2023 16:29:26 +0200