Score:1

initramfs reports "compression not supported by kernel" for all compression types after 23.04 upgrade

sr flag

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?

nobody avatar
gh flag
Please show us `dpkg -l | egrep linux-'[g|h|i|m]'`
Dave avatar
sr flag
It's `ii binutils-aarch64-linux-gnu 2.40-2ubuntu4 arm64 GNU binary utilities, for aarch64-linux-gnu target`.
Dave avatar
sr flag
Oh, and an additional comment, I've already tried the standard silly-walk of autoremove, clean, update, remove+install, etc.
nobody avatar
gh flag
Oh aarch64 then I am out. Totally clueless about this. Sorry
Dave avatar
sr flag
No worries, thanks anyway. I'll probably reflash it to recover since another day of working on it hasn't resolved the issue and it looks like it's going to be less work to reinstall than to continue, particularly since anything that causes it to reboot in the state it's in will result in a bricked system.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.