Package: dkms Version: 3.2.0-1 Severity: important Tags: upstream X-Debbugs-Cc: [email protected]
Ohai, since some time, dkms started to archive existing modules if you install a <something>-dkms package that ships an updated version of the module, for example tp-smapi-dkms shipping hdaps.ko This leads to the fact that once tp-smapi-dkms is installed, debsums (and thus piuparts [1]), complains that the linux-image package is missing a file (which is technically correct, dkms moved it away): root@system:~# apt install tp-smapi-dkms … Installing /lib/modules/6.12.33+deb13-amd64/updates/dkms/thinkpad_ec.ko.xz Installing /lib/modules/6.12.33+deb13-amd64/updates/dkms/tp_smapi.ko.xz Found pre-existing /lib/modules/6.12.33+deb13-amd64/kernel/drivers/platform/x86/hdaps.ko.xz, archiving for uninstallation Installing /lib/modules/6.12.33+deb13-amd64/updates/dkms/hdaps.ko.xz root@system:~# debsums --silent debsums: missing file /usr/lib/modules/6.12.33+deb13-amd64/kernel/drivers/platform/x86/hdaps.ko.xz (from linux-image-6.12.33+deb13-amd64 package) Given dkms (on Debian) installs modules to …/updates/dkms/ (so /lib/modules/6.12.33+deb13-amd64/updates/dkms/hdaps.ko.xz), modprobe should use that module and not the in-kernel one anyway, and no archiving should be necessary? I think this behaviour is coming from [2], but didn't dig deep further to try it out. [1] https://piuparts.debian.org/sid/fail/tp-smapi-dkms_0.44-1.2.log [2] https://github.com/dell/dkms/commit/5889b900916cb6441c6ab94a026a20b7fcc9c71c -- System Information: Debian Release: 13.0 APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.12.33+deb13-amd64 (SMP w/4 CPU threads; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: default Versions of packages dkms depends on: ii build-essential 12.12 ii dpkg-dev 1.22.20 ii kmod 34.2-2 ii lsb-release 12.1-1 ii make 4.4.1-2 ii patch 2.8-1 Versions of packages dkms recommends: ii clang-16 [c-compiler] 1:16.0.6-27+b1 ii clang-19 [c-compiler] 1:19.1.7-3+b1 ii fakeroot 1.37.1.2-1 ii gcc [c-compiler] 4:14.2.0-1 ii gcc-11 [c-compiler] 11.5.0-2 ii gcc-12 [c-compiler] 12.4.0-7 ii gcc-13 [c-compiler] 13.4.0-1 ii gcc-14 [c-compiler] 14.2.0-19 ii sudo 1.9.16p2-2 Versions of packages dkms suggests: ii e2fsprogs 1.47.2-3+b1 ii menu 2.1.51 -- Configuration Files: /etc/modprobe.d/dkms.conf changed [not included] -- no debconf information

