Package: mantis Version: 0.19.2-2 Severity: serious Justification: Policy 3.5
The following section in mantis.postinst renders the package uninstallable on any system without the /etc/apache directory. servers="apache apache-perl apache-ssl apache2" for webserver in "$webservers"; do if [ ! -e /etc/${webserver}/conf.d/mantis ]; then ln -s ${includefile} /etc/${webserver}/conf.d/mantis fi done The if statement should also check if any directory leading up to the last one exists before assuming it's OK to install the link. For me, without apache 1.3, postinst fails in ln with ln: creating symbolic link `/etc/apache/conf.d/mantis' to `/etc/mantis/apache.conf': No such file or directory dpkg: error processing mantis (--configure): subprocess post-installation script returned error exit status 1 Please redo the if statement to something like this: servers="apache apache-perl apache-ssl apache2" for webserver in "$webservers"; do if [ -d /etc/${webserver} -a -d /etc/${webserver}/conf.d -a ! -e /etc/${webserver}/conf.d/mantis ]; then ln -s ${includefile} /etc/${webserver}/conf.d/mantis fi done Regards /Jocke -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=sv_SE.ISO-8859-1, LC_CTYPE=sv_SE.ISO-8859-1 (charmap=ISO-8859-1) Versions of packages mantis depends on: ii apache2 2.0.52-3 Next generation, scalable, extenda ii apache2-mpm-prefork [httpd] 2.0.52-3 Traditional model for Apache2 ii debconf 1.4.30.11 Debian configuration management sy ii grep 2.5.1.ds1-4 GNU grep, egrep and fgrep ii libapache2-mod-php4 4:4.3.10-2 server-side, HTML-embedded scripti ii libphp-adodb 4.52-1 The 'adodb' database abstraction l ii makepasswd 1.10-2 Generate and encrypt passwords ii mysql-client 4.0.23-4 mysql database client binaries ii php4-cgi 4:4.3.10-2 server-side, HTML-embedded scripti ii php4-cli 4:4.3.10-2 command-line interpreter for the p ii php4-mysql 4:4.3.10-2 MySQL module for php4 ii wwwconfig-common 0.0.42 Debian web auto configuration -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]