Public bug reported:
[ Impact ]
* In kinetic, installing kernel which vendors a dkms module from the
archive allows to still install the same dkms module from the archive,
in an inactive package:
$ sudo apt install linux-virtual zfs-dkms
...
zstd.ko:
Running module version sanity check.
Error! Module version 1.4.5a-2.1.5-1ubuntu6 for zzstd.ko
is not newer than what is already found in kernel 5.19.0-35-generic
(1.4.5a-2.1.5-1ubuntu6).
You may override by specifying --force.
depmod...
Processing triggers for libc-bin (2.36-0ubuntu2) ...
$ echo $?
0
$ sudo dkms status
zfs/2.1.5, 5.19.0-35-generic, x86_64: installed (WARNING! Diff between built
and installed module!)
If the user wishes to use dkms built module for whatever reason, one can
then call dkms install --force after apt completes.
Whereas in lunar, such apt installation fails, resulting in broken apt
packages, and inability to specify `dkms install --force`
zzstd.ko:
Running module version sanity check.
Module version 1.4.5a-2.1.7-1ubuntu1 for zzstd.ko
exactly matches what is already found in kernel 6.1.0-14-generic.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
dpkg: error processing package zfs-dkms (--configure):
installed zfs-dkms package post-installation script subprocess returned error
exit status 6
Processing triggers for libc-bin (2.36-0ubuntu4) ...
Errors were encountered while processing:
zfs-dkms
E: Sub-process /usr/local/libexec/mk-sbuild/dpkg returned an error code (1)
This breaks existing Ubuntu workflows that allow keeping dkms module
installed, and get it upgraded on older kernel abis, if and when
desired.
[ Test Plan ]
* Install zfs-dkms and linux-virtual that vendors the identical version
zfs-dkms
[ Where problems could occur ]
* This looks like upstream regression
[ Other Info ]
* this is making kernels unmigratable in lunar.
** Affects: dkms (Ubuntu)
Importance: Critical
Status: Triaged
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/2008269
Title:
dkms prevents installing vendored-in dkms packages
Status in dkms package in Ubuntu:
Triaged
Bug description:
[ Impact ]
* In kinetic, installing kernel which vendors a dkms module from the
archive allows to still install the same dkms module from the archive,
in an inactive package:
$ sudo apt install linux-virtual zfs-dkms
...
zstd.ko:
Running module version sanity check.
Error! Module version 1.4.5a-2.1.5-1ubuntu6 for zzstd.ko
is not newer than what is already found in kernel 5.19.0-35-generic
(1.4.5a-2.1.5-1ubuntu6).
You may override by specifying --force.
depmod...
Processing triggers for libc-bin (2.36-0ubuntu2) ...
$ echo $?
0
$ sudo dkms status
zfs/2.1.5, 5.19.0-35-generic, x86_64: installed (WARNING! Diff between built
and installed module!)
If the user wishes to use dkms built module for whatever reason, one
can then call dkms install --force after apt completes.
Whereas in lunar, such apt installation fails, resulting in broken apt
packages, and inability to specify `dkms install --force`
zzstd.ko:
Running module version sanity check.
Module version 1.4.5a-2.1.7-1ubuntu1 for zzstd.ko
exactly matches what is already found in kernel 6.1.0-14-generic.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
dpkg: error processing package zfs-dkms (--configure):
installed zfs-dkms package post-installation script subprocess returned
error exit status 6
Processing triggers for libc-bin (2.36-0ubuntu4) ...
Errors were encountered while processing:
zfs-dkms
E: Sub-process /usr/local/libexec/mk-sbuild/dpkg returned an error code (1)
This breaks existing Ubuntu workflows that allow keeping dkms module
installed, and get it upgraded on older kernel abis, if and when
desired.
[ Test Plan ]
* Install zfs-dkms and linux-virtual that vendors the identical
version zfs-dkms
[ Where problems could occur ]
* This looks like upstream regression
[ Other Info ]
* this is making kernels unmigratable in lunar.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/2008269/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp