Seems that the fix:
# Redirect stdout to stderr due Debconf usage
if [ -n "$DEBCONF_REDIR" ]
then
1>&2
fi
doesn't work:
hidalgo:~# DEBCONF_REDIR=true /usr/sbin/extlinux-update 2>/dev/null
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-2.6.35-trunk-amd64...
P: Writing config for /boot/vmlinuz-2.6.32-5-amd64...
P: Installing debian-squeeze theme... done.
so when running from apt-get install/remove it still fails with error
like:
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 2.6.35.6-grsec+
/boot/vmlinuz-2.6.35.6-grsec+
dpkg: error processing linux-image-2.6.35.6-grsec+ (--purge):
subprocess installed post-removal script returned error exit status 128
configured to not write apport reports
Errors were encountered while processing:
linux-image-2.6.35.6-grsec+
E: Sub-process /usr/bin/dpkg returned an error code (1)
Cheers,
--
Yves-Alexis
signature.asc
Description: This is a digitally signed message part

