Thanks for pointing that out. In the postrm there were still 2 calls to ucf without --debconf-ok. Attached patch should fix that.
diff -Nurp mantis-1.1.8+dfsg/debian/postrm mantis-1.1.8+dfsg.new/debian/postrm --- mantis-1.1.8+dfsg/debian/postrm 2009-07-02 19:15:03.000000000 +0200 +++ mantis-1.1.8+dfsg.new/debian/postrm 2009-07-02 19:14:46.000000000 +0200 @@ -27,8 +27,8 @@ restore_oldconfig() case "$1" in purge) unconfigure_webservers - ucf --purge /etc/mantis/config_db.php - ucf --purge /etc/mantis/config_inc.php + ucf --debconf-ok --purge /etc/mantis/config_db.php + ucf --debconf-ok --purge /etc/mantis/config_inc.php if [ -d /etc/mantis ]; then rm -rf /etc/mantis