This should be fixable by adding this bit of code at the very start of the postrm script. The debconf confmodule contains some redirection magick that needs to be run early in the postrm script before any commands that generate some output.
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part