I confirm that I was only using extlinux for preparing USB boot sticks etc, and not booting the host itself via extlinux.
I have now hit the bug again on another machine, this one i386. Here is a run with set -x turned on in /usr/sbin/update-extlinux: ----------------------------------------------------------------------- # dpkg -i /var/cache/apt/archives/linux-image-2.6.32-3-686_2.6.32-9_i386.deb (Reading database ... 272798 files and directories currently installed.) Preparing to replace linux-image-2.6.32-3-686 2.6.32-9 (using .../linux-image-2.6.32-3-686_2.6.32-9_i386.deb) ... Unpacking replacement linux-image-2.6.32-3-686 ... Running postrm hook script /usr/sbin/update-grub. head: cannot open `/boot/grub/video.lst' for reading: No such file or directory Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.32-trunk-686 Found initrd image: /boot/initrd.img-2.6.32-trunk-686 Found linux image: /boot/vmlinuz-2.6.32-3-686 Found initrd image: /boot/initrd.img-2.6.32-3-686 Found linux image: /boot/vmlinuz-2.6.30-2-686 Found initrd image: /boot/initrd.img-2.6.30-2-686 Found linux image: /boot/vmlinuz-2.6.30-1-686 Found initrd image: /boot/initrd.img-2.6.30-1-686 Found linux image: /boot/vmlinuz-2.6.26-2-686 Found initrd image: /boot/initrd.img-2.6.26-2-686 Found linux image: /boot/vmlinuz-2.6.26-1-686 Found initrd image: /boot/initrd.img-2.6.26-1-686 done Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/extlinux 2.6.32-3-686 /boot/vmlinuz-2.6.32-3-686 + DEVICE=2.6.32-3-686 + echo -n P: Searching for EXTLINUX directory... + [ -e /boot/extlinux ] + [ -e /boot/boot/exlinux ] + [ -e /extlinux ] + [ -z ] + echo not found. + echo E: To create a template run 'mkdir /boot/extlinux' first. + echo E: To install extlinux, do it manually or try the 'extlinux-install' command. + echo E: Warning, extlinux-install is used to change your MBR. + exit 1 run-parts: /etc/kernel/postrm.d/extlinux exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-2.6.32-3-686.postrm line 272. dpkg: warning: old post-removal script returned error exit status 2 dpkg - trying script from the new package instead ... Running postrm hook script /usr/sbin/update-grub. head: cannot open `/boot/grub/video.lst' for reading: No such file or directory Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.32-trunk-686 Found initrd image: /boot/initrd.img-2.6.32-trunk-686 Found linux image: /boot/vmlinuz-2.6.32-3-686 Found initrd image: /boot/initrd.img-2.6.32-3-686 Found linux image: /boot/vmlinuz-2.6.30-2-686 Found initrd image: /boot/initrd.img-2.6.30-2-686 Found linux image: /boot/vmlinuz-2.6.30-1-686 Found initrd image: /boot/initrd.img-2.6.30-1-686 Found linux image: /boot/vmlinuz-2.6.26-2-686 Found initrd image: /boot/initrd.img-2.6.26-2-686 Found linux image: /boot/vmlinuz-2.6.26-1-686 Found initrd image: /boot/initrd.img-2.6.26-1-686 done Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/extlinux 2.6.32-3-686 /boot/vmlinuz-2.6.32-3-686 + DEVICE=2.6.32-3-686 + echo -n P: Searching for EXTLINUX directory... + [ -e /boot/extlinux ] + [ -e /boot/boot/exlinux ] + [ -e /extlinux ] + [ -z ] + echo not found. + echo E: To create a template run 'mkdir /boot/extlinux' first. + echo E: To install extlinux, do it manually or try the 'extlinux-install' command. + echo E: Warning, extlinux-install is used to change your MBR. + exit 1 run-parts: /etc/kernel/postrm.d/extlinux exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 272. dpkg: error processing /var/cache/apt/archives/linux-image-2.6.32-3-686_2.6.32-9_i386.deb (--install): subprocess new post-removal script returned error exit status 2 Running postrm hook script /usr/sbin/update-grub. head: cannot open `/boot/grub/video.lst' for reading: No such file or directory Generating grub.cfg ... Found linux image: /boot/vmlinuz-2.6.32-trunk-686 Found initrd image: /boot/initrd.img-2.6.32-trunk-686 Found linux image: /boot/vmlinuz-2.6.32-3-686 Found initrd image: /boot/initrd.img-2.6.32-3-686 Found linux image: /boot/vmlinuz-2.6.30-2-686 Found initrd image: /boot/initrd.img-2.6.30-2-686 Found linux image: /boot/vmlinuz-2.6.30-1-686 Found initrd image: /boot/initrd.img-2.6.30-1-686 Found linux image: /boot/vmlinuz-2.6.26-2-686 Found initrd image: /boot/initrd.img-2.6.26-2-686 Found linux image: /boot/vmlinuz-2.6.26-1-686 Found initrd image: /boot/initrd.img-2.6.26-1-686 done Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/extlinux 2.6.32-3-686 /boot/vmlinuz-2.6.32-3-686 + DEVICE=2.6.32-3-686 + echo -n P: Searching for EXTLINUX directory... + [ -e /boot/extlinux ] + [ -e /boot/boot/exlinux ] + [ -e /extlinux ] + [ -z ] + echo not found. + echo E: To create a template run 'mkdir /boot/extlinux' first. + echo E: To install extlinux, do it manually or try the 'extlinux-install' command. + echo E: Warning, extlinux-install is used to change your MBR. + exit 1 run-parts: /etc/kernel/postrm.d/extlinux exited with return code 1 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 272. dpkg: error while cleaning up: subprocess new post-removal script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/linux-image-2.6.32-3-686_2.6.32-9_i386.deb ----------------------------------------------------------------------------- So yes, this bug needs to be re-opened & a mechanism to flag whether or not extlinux is booting the host system needs to be introduced. ael -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org