dkms must use dpkg version comparison

Bug #2044137 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
New
Undecided
Unassigned

Bug Description

From: https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/2040181

Extra step needed when testing these proposed packages against kernels providing the rc:
dkms and dpkg disagree on version sort order.

# dpkg prioritizes tilde
dpkg --compare-versions '2.2.0-0ubuntu1~23.10' gt '2.2.0~rc3-0ubuntu4' ; echo $?

# dkms determines dash comes first
dpkg-reconfigure zfs-dkms
[..]
zfs.ko.zst:
Running module version sanity check.
Error! Module version 2.2.0-0ubuntu1~23.10 for zfs.ko.zst
is not newer than what is already found in kernel 6.5.0-10-generic (2.2.0~rc3-0ubuntu4).
You may override by specifying --force.

Seems like dkms does not use dpkg version comparison, like it should on Ubuntu.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.