Control: notfound -1 linux/5.15.5-2
Control: merge 996104 -1

HI Axel,

On Thu, Feb 17, 2022 at 01:20:22PM +0100, Axel Beckert wrote:
> 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. :-)

Thanks for reporting!

I believe this should be on the dkms side, and would be the same
as #996104. There is a pull request upstream apprently which got
merged upstream.

Regards,
Salvatore

Reply via email to