Just upgraded to 23.04 and initramfs won't install, reporting "compression (CONFIG_RD_*) not supported by kernel" for any of { gzip, bzip2, lz4, lzma, lzop, xz, zstd, cat }. For example with 'cat' configured as the compression type I get:
> sudo dpkg --configure -a
Setting up initramfs-tools (0.142ubuntu2) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142ubuntu2) ...
update-initramfs: Generating /boot/initrd.img-4.9.184-37
grep: /boot/config-4.9.184-37: No such file or directory
W: cat compression () not supported by kernel, using gzip
grep: /boot/config-4.9.184-37: No such file or directory
E: gzip compression (CONFIG_RD_GZIP) not supported by kernel
update-initramfs: failed for /boot/initrd.img-4.9.184-37 with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
Since it's unlikely that the kernel doesn't support any known compression method, including cat, I suspect it's a problem with initramfs. Anyone have any ideas?