Package: ldap-account-manager
Version: 7.4-1
Severity: normal
X-Debbugs-Cc: mdavidsa...@gmail.com

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Attempting to install for use with nginx instead of apache.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

Install ldap-account-manager while preventing apache2 package from installing 
as well.

   * What was the outcome of this action?

Setting up ldap-account-manager (7.4-1) ...
/var/lib/dpkg/info/ldap-account-manager.postinst: line 89: a2query: command not 
found
/var/lib/dpkg/info/ldap-account-manager.postinst: line 89: a2enconf: command 
not found

Trying to remove then results in

Removing ldap-account-manager (7.4-1) ...
/var/lib/dpkg/info/ldap-account-manager.postrm: line 28: a2query: command not 
found

At which point I was happy that I tried this first in a disposable lxc 
container :)

   * What outcome did you expect instead?

Correctly detecting that apache2 isn't in use.

ldap-account-manager.postinst tests for /etc/$server/conf-available which 
mis-triggers
due to the existence of /etc/apache2/conf-available/javascript-common.conf

Maybe better to test for the existence of '/usr/sbin/a2query', 
'/usr/sbin/apachectl',
or another file from the apache2 package installed outside of /etc ?


*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-11-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ldap-account-manager depends on:
pn  apache2 | httpd                                      <none>
ii  debconf [debconf-2.0]                                1.5.77
ii  fonts-dejavu                                         2.37-2
pn  libapache2-mod-php | libapache2-mod-fcgid | php-fpm  <none>
pn  php                                                  <none>
pn  php-curl                                             <none>
pn  php-gd | php-imagick                                 <none>
pn  php-gmp                                              <none>
pn  php-json                                             <none>
pn  php-ldap                                             <none>
pn  php-monolog                                          <none>
pn  php-phpseclib                                        <none>
pn  php-xml                                              <none>
pn  php-zip                                              <none>

Versions of packages ldap-account-manager recommends:
pn  php-opcache  <none>

Versions of packages ldap-account-manager suggests:
pn  ldap-account-manager-lamdaemon  <none>
pn  ldap-server                     <none>
ii  perl                            5.32.1-4+deb11u2
pn  php-mcrypt                      <none>

Reply via email to