Package: mantis Version: 1.0.6+dfsg-4.1 Severity: important I may be confused, but I think the following entry in /var/lib/dpkg/info/mantis.templates has some garbage in the "Default:" field. As you can see it shows up in the debconf database, and later the postinst fails because it's expecting just "apache2" there.
Template: mantis/webserver Type: multiselect Choices: apache, apache-ssl, apache-perl, apache2 Default: apache2 [ default : Translators, do not put what's inside brackets into translations. Put apache,apache-ssl or apache-perl here but UNTRANSLATED just like it is in the ENGLISH template] Description: Web server(s) that should be configured automatically: Description-cs.UTF-8: Webový server (servery), které se mají nastavit automaticky: Description-de.UTF-8: Web Server die automatisch konfiguriert werden sollen: Description-fr.UTF-8: Serveur(s) web à configurer automatiquement : Description-ja.UTF-8: 自動的に設定される web サーバ: Description-pt_BR.UTF-8: Servidor(es) Web que deve(rão) ser configurado(s) automaticamente: Description-vi.UTF-8: Máy phục vụ Mạng cần tự động cấu hình: -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-corax-1 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages mantis depends on: ii apache2 2.2.3-3.2 Next generation, scalable, extenda ii apache2-mpm-worker [apache2] 2.2.3-3.2 High speed threaded model for Apac ii dbconfig-common 1.8.29 common framework for packaging dat ii debconf 1.5.11 Debian configuration management sy ii libapache-mod-php4 6:4.4.4-8 server-side, HTML-embedded scripti ii libphp-adodb 4.93a-1 The 'adodb' database abstraction l ii libphp-phpmailer 1.73-2 full featured email transfer class ii php4-cli 6:4.4.4-8 command-line interpreter for the p ii php4-mysql 6:4.4.4-8 MySQL module for php4 ii php5-cli 5.2.0-8 command-line interpreter for the p ii php5-mysql 5.2.0-8 MySQL module for php5 mantis recommends no packages. -- debconf information: mantis/dbconfig-reinstall: false * mantis/dbconfig-install: false mantis/remote/newhost: mantis/upgrade-backup: true mantis/internal/skip-preseed: false mantis/install-error: abort mantis/internal/reconfiguring: false mantis/dbconfig-remove: mantis/bounce: [EMAIL PROTECTED] mantis/from: [EMAIL PROTECTED] mantis/passwords-do-not-match: mantis/admin: [EMAIL PROTECTED] mantis/mysql/admin-user: root mantis/remote/port: mantis/purge: false mantis/webmaster: [EMAIL PROTECTED] mantis/dbconfig-upgrade: true mantis/remove-error: abort mantis/remote/host: mantis/db/app-user: mantis mantis/mysql/method: unix socket mantis/webserver: apache2 [ default : Translators, do not put what's inside brackets into translations. Put apache,apache-ssl or apache-perl here but UNTRANSLATED just like it is in the ENGLISH template] mantis/db/dbname: mantis mantis/database-type: mysql mantis/upgrade-error: abort