Package: mantis Version: 1.0.6+dfsg-4.1 Severity: normal The command
%apt-get --reinstall install mantis with this version reinstalling over the same version seems to call the preinst script with an argument of "upgrade". That script fails if the file /etc/mantis/config.php does not exist -- which it does not in this version of mantis. If "upgrade" is supposed to be called in this case, then the fix is to move the conditional (the test for existence of /etc/mantis/config.php) into the main case...esac so that it will skip the call to sed when the file doesn't exist. -- 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: true 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 mantis/db/dbname: mantis mantis/database-type: mysql mantis/upgrade-error: abort -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]