Bug#463728: files in /var/lib/initramfs-tools/
I just checked this bug and i'm still able to reproduce it.
My system doesn't have any 2.6.22 kernel installed, but still
update-initramfs tries to update an initrd for 2.6.22 kernels.
I searched for *2.6.22-4-amd64* on my system, and finally found out that
/var/lib/initramfs-tools contains files for exactly the two kernels that
update-initramfs is trying to update:
# ll /var/lib/initramfs-tools
-rw-r--r-- 1 root root 81 Oct 23 01:56 2.6.22-3-amd64-resivo
-rw-r--r-- 1 root root 81 Oct 23 01:57 2.6.22-4-amd64-resivo
I removed both and afterwards update-initramfs took
initrd.img-2.6.24-4-amd64-resivo, which is the one for my current
I'm not sure how these files went to /var/lib/initramfs-tools and if
this was by purpose. But update-initramfs tries to update obsolete
initrds if the wrong files exist in this directory.
Either there must be some bug in creating and/or removing files from
/var/lib/initramfs-tools, or in using them.