Package: dkms,linux-image-5.15.0-2-amd64 Control: found -1 dkms/2.8.7-2 Control: found -1 linux/5.15.5-2
Hi, when purging linux-image-5.15.0-2-amd64 I got these unexpected error messages and I'm not sure if this is an issue of src:linux' prerm script or in dkms itself — note the two blanks after "dkms: removing:": […] Removing linux-image-5.15.0-2-amd64 (5.15.5-2) ... /etc/kernel/prerm.d/dkms: dkms: removing: (5.15.0-2-amd64) (x86_64) Error! Arguments <module> and <module-version> are not specified. Usage: remove <module>/<module-version> or remove -m <module>/<module-version> or remove -m <module> -v <module-version> /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-5.15.0-2-amd64 /etc/kernel/postrm.d/zz-update-grub: […] Reading database ... 1878017 files and directories currently installed.) Purging configuration files for linux-image-5.15.0-2-amd64 (5.15.5-2) ... rmdir: failed to remove '/lib/modules/5.15.0-2-amd64': Directory not empty dpkg: warning: while removing linux-image-5.15.0-2-amd64, directory '/lib/modules/5.15.0-2-amd64' not empty so not removed Processing triggers for initramfs-tools (0.140) ... […] Not sure about the severity either. It probably means that it leaves files after removal, so it could be RC, but then again it seems to have no real impact and is "presumably trivial to fix", so it could be "minor" as well. Leaving it at the default. Feel free to adjust as you like. :-) -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.16.0-1-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages dkms depends on: ii build-essential 12.9 ii clang-13 [c-compiler] 1:13.0.1-3 ii coreutils 8.32-4.1 ii dctrl-tools 2.24-3+b1 ii dpkg-dev 1.21.1 ii gcc [c-compiler] 4:11.2.0-2 ii gcc-11 [c-compiler] 11.2.0-16 ii kmod 29-1 ii lsb-release 11.1.0 ii make 4.3-4.1 ii patch 2.7.6-7 ii pcc [c-compiler] 1.2.0~DEVEL+20200630-2 ii tcc [c-compiler] 0.9.27+git20200814.62c30a4a-1 Versions of packages dkms recommends: ii fakeroot 1.27-1 ii linux-headers-amd64 [linux-headers-generic] 5.16.7-2 pn sudo <none> Versions of packages dkms suggests: ii e2fsprogs 1.46.5-2 ii menu 2.1.49 -- no debconf information