Reproduce the problem:
# dpkg-query -W initramfs-tools lz4 initramfs-tools 0.131ubuntu19 lz4 1.8.3-1ubuntu1
# sed -i 's/gzip/lz4/' /etc/initramfs-tools/initramfs.conf
# update-initramfs -c -k test
# lsinitramfs /boot/initrd.img-test cpio: premature end of archive
===
# sed 's/-updates/-proposed/' -i /etc/apt/sources.list # apt update # dpkg-query -W initramfs-tools lz4 initramfs-tools 0.131ubuntu19.1 lz4 1.8.3-1ubuntu1
# lsinitramfs /boot/initrd.img-test ... all the files are listed
Reproduce the problem:
# dpkg-query -W initramfs-tools lz4
initramfs-tools 0.131ubuntu19
lz4 1.8.3-1ubuntu1
# sed -i 's/gzip/lz4/' /etc/initramfs- tools/initramfs .conf
# update-initramfs -c -k test
# lsinitramfs /boot/initrd. img-test
cpio: premature end of archive
===
# sed 's/-updates/ -proposed/ ' -i /etc/apt/ sources. list
# apt update
# dpkg-query -W initramfs-tools lz4
initramfs-tools 0.131ubuntu19.1
lz4 1.8.3-1ubuntu1
# lsinitramfs /boot/initrd. img-test
...
all the files are listed