Looks like you've apache2.2 instead of apache2.4 installed. Interresting, because I cannot reproduce this on my "unstable" system. The way the postinst script is done is the recommended way for the time after the apache 2.4 transition.
Additionally you seen to have leftovers of lighttpd installed. Am Mittwoch, 16. Mai 2012, 17:10:42 schrieben Sie: > Package: gosa > Version: 2.7.4-1 > Severity: grave > Justification: renders package unusable > > > Hi, > > here is the problem: > > Setting up gosa (2.7.4-1) ... > /var/lib/dpkg/info/gosa.postinst: line 58: apache2_invoke: command not > found Failed to enable the apache2 headers module! > invoke-rc.d: unknown initscript, /etc/init.d/lighttpd not found. > dpkg: error processing gosa (--configure): > > > -- System Information: > Debian Release: wheezy/sid > APT prefers unstable > APT policy: (500, 'unstable'), (1, 'experimental') > Architecture: i386 (i686) > > Kernel: Linux 3.2.0-2-rt-686-pae (SMP w/1 CPU core; PREEMPT) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > Versions of packages gosa depends on: > ii apache2 2.2.22-5 > ii apache2-mpm-prefork [httpd] 2.2.22-5 > ii fonts-liberation [ttf-liberation] 1.07.2-2 > ii gettext 0.18.1.1-7 > ii imagemagick 8:6.7.4.0-5 > ii libapache2-mod-php5 5.4.3-4 > ii libcrypt-smbhash-perl 0.12-3 > ii micro-httpd [httpd] 20051212-15 > ii nginx-full [httpd] 1.1.19-1 > ii nullmailer [mail-transport-agent] 1:1.05-1 > ii php5 5.4.3-4 > ii php5-cgi 5.4.3-4 > ii php5-cli 5.4.3-4 > ii php5-curl 5.4.3-4 > ii php5-gd 5.4.3-4 > ii php5-imagick 3.1.0~rc1-1+b2 > ii php5-imap 5.4.3-4 > ii php5-ldap 5.4.3-4 > ii php5-mcrypt 5.4.3-4 > ii php5-mysql 5.4.3-4 > ii php5-recode 5.4.3-4 > ii smarty3 3.1.8-1 > > Versions of packages gosa recommends: > ii apache2 2.2.22-5 > ii apache2-mpm-prefork [httpd] 2.2.22-5 > ii micro-httpd [httpd] 20051212-15 > ii nginx-full [httpd] 1.1.19-1 > > Versions of packages gosa suggests: > pn cyrus21-imapd <none> > pn gosa-schema 2.7.4-1 > pn gosa-si-server <none> > pn php-apc 3.1.10-1 > pn php-fpdf 3:1.7.dfsg-1 > pn php5-suhosin <none> > pn postfix-ldap <none> > pn slapd <none> > > -- no debconf information -- Cajus Pollmeier <pollme...@gonicus.de> (Head of Development) * GONICUS GmbH * Moehnestrasse 11-17 * D-59755 Arnsberg * Tel.: +49 (0) 29 32 / 9 16 - 0 * Fax: +49 (0) 29 32 / 9 16 - 223 * http://www.GONICUS.de * Sitz der Gesellschaft: Moehnestrasse 11-17 * D-59755 Arnsberg * Geschaeftsfuehrer: Rainer Luelsdorf, Alfred Schroeder * Vorsitzender des Beirats: Juergen Michels * Amtsgericht Arnsberg * HRB 1968
signature.asc
Description: This is a digitally signed message part.