Package: ldap-account-manager Version: 5.3-1 Severity: normal Postinst script failure, because apache2 service not running, then leads to failure on subsequent occasions because a symbolic link created by the script now exists. The script needs better handling of possible error conditions.
Setting up ldap-account-manager (5.3-1) ... apache2.service is not active, cannot reload. invoke-rc.d: initscript apache2, action "reload" failed. dpkg: error processing package ldap-account-manager (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: ldap-account-manager Setting up ldap-account-manager (5.3-1) ... ln: failed to create symbolic link '/etc/apache2/conf-available/ldap-account- manager.conf': File exists dpkg: error processing package ldap-account-manager (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: ldap-account-manager -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ldap-account-manager depends on: ii apache2 [httpd] 2.4.18-1 ii debconf [debconf-2.0] 1.5.59 ii php-fpdf 3:1.7.dfsg-1.1 ii php-imagick 3.4.0-1 ii php5 5.6.19+dfsg-2 ii php5-gd 5.6.19+dfsg-2 ii php5-json 1.3.7-1 ii php5-ldap 5.6.19+dfsg-2 Versions of packages ldap-account-manager recommends: pn php-apc <none> Versions of packages ldap-account-manager suggests: pn ldap-account-manager-lamdaemon <none> ii perl 5.22.1-9 pn php5-mcrypt <none> ii slapd [ldap-server] 2.4.42+dfsg-2+b2 -- Configuration Files: /etc/ldap-account-manager/config.cfg [Errno 13] Permission denied: u'/etc/ldap-account-manager/config.cfg' -- debconf information: ldap-account-manager/config-webserver: apache2 ldap-account-manager/alias: lam ldap-account-manager/restart-webserver: true