Hi! I have the same issue. Not sure the problem is with the kernel package though, because even purging and/or reinstalling linux-image-4.18.0-3 fails (see below). Any suggestion which package may be responsible? The problem started after a dist-upgrade on Dec 24...
Thanks! Tiziano # aptitude purge linux-image-4.18.0-3-amd64 The following packages will be REMOVED: linux-image-4.18.0-3-amd64{p} 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0 B of archives. After unpacking 258 MB will be freed. Do you want to continue? [Y/n/?] Y (Reading database ... 420270 files and directories currently installed.) Removing linux-image-4.18.0-3-amd64 (4.18.20-2) ... I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.19.0-1-amd64 I: /initrd.img.old is now a symlink to boot/initrd.img-4.19.0-1-amd64 /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-4.18.0-3-amd64 /etc/kernel/postrm.d/zz-update-grub: /usr/sbin/grub-probe: error: failed to get canonical path of `/dev/mapper/CRYPT-ROOT'. run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1 dpkg: error processing package linux-image-4.18.0-3-amd64 (--remove): installed linux-image-4.18.0-3-amd64 package post-removal script subprocess returned error exit status 1 Errors were encountered while processing: linux-image-4.18.0-3-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) # aptitude reinstall linux-image-4.18.0-3-amd64 The following packages will be REINSTALLED: linux-image-4.18.0-3-amd64 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/45.7 MB of archives. After unpacking 0 B will be used. (Reading database ... 416025 files and directories currently installed.) Preparing to unpack .../linux-image-4.18.0-3-amd64_4.18.20-2_amd64.deb ... Unpacking linux-image-4.18.0-3-amd64 (4.18.20-2) over (4.18.20-2) ... Setting up linux-image-4.18.0-3-amd64 (4.18.20-2) ... I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.18.0-3-amd64 I: /initrd.img.old is now a symlink to boot/initrd.img-4.18.0-3-amd64 /etc/kernel/postinst.d/dkms: Error! Your kernel headers for kernel 4.18.0-3-amd64 cannot be found. Please install the linux-headers-4.18.0-3-amd64 package, or use the --kernelsourcedir option to tell DKMS where it's located /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.18.0-3-amd64 cryptsetup: ERROR: Couldn't resolve device /dev/mapper/CRYPT-ROOT cryptsetup: WARNING: Couldn't determine root device Warning: couldn't identify filesystem type for fsck hook, ignoring. /etc/kernel/postinst.d/zz-update-grub: /usr/sbin/grub-probe: error: failed to get canonical path of `/dev/mapper/CRYPT-ROOT'. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 dpkg: error processing package linux-image-4.18.0-3-amd64 (--configure): installed linux-image-4.18.0-3-amd64 package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: linux-image-4.18.0-3-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1)