[pkg-kolab] Bug#638003: The install script failed to find apache module

Arno Töll debian at toell.net
Tue Aug 16 13:48:16 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

severity 638003 serious
thanks
Justification: fails to install

kolabd fails to be installed, if the user renamed/moved the
configuration files supplied with Apache. In the particular case, the
user had removed module configurations to /etc/apache2/sites-enabled
instead of linking them, or using a2enmod.

Log of the procedure:

claudex:~# apt-get install kolabd
Reading package lists... Done
Building dependency tree
Reading state information... Done
kolabd is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up kolabd (2.2.4-20100624-4) ...
The user `postfix' is already a member of `sasl'.
The user `cyrus' is already a member of `kolab'.
ERROR: Module rewrite does not exist!
dpkg: error processing kolabd (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while
processing:
 kolabd
E: Sub-process /usr/bin/dpkg returned an error code (1)


The problem is in the postinst maintainer script line 34 which silently
assumes /etc/apache2/mods-available/{rewrite, ssl, ldap}.load exists and
works if a2enmod exists.

A special treatment like for the PHP module should apply for those
modules as well.

- -- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOSnUgAAoJEMcrUe6dgPNt49QQALGy4K27MyiTEqsbCcjHIUOL
khaJ+tH5ldHHSNRH5mAx+KlFtIry+h5TO2c4Ya7SRk6hO8llEf6OqkVGuXjcLMhY
xgeAfz9MqDww3+29vxnqWliHlO9eL/ZMcdD/8xj8ag7fjF15BtD06E0kfj2DiAY5
6ArW2hJFfALWGdK8gnVlJ3iCIguq09XXM7y0L1xrczBpBgEL4rcF2TdsWx3N0Ese
+9vmPXHD0B8NIkuRtX1DZVo9PELQdyqhVAWoAJuL4DtdfaqqXupA9puH1xOPgxGt
0zLTmBr2Wk7YI9rRkYEbFh3kwMRKmSvXR8vEl8KAPBkOL/+yCI8NOiF7Fpq2wUBI
brQZhxYdMQEveBhTDun85vFcJyPMlc+VK+icdmqY21LtB4tlbwgyAw5CsST2rPOH
6i/KkGf+5hmp387AGX2m0UeDvaWTxL2xi+h1vYnbKUTkKSNLciT4Yn2oR8F52fyr
fbaOnhbPSmpZOac9I8vDAxpxIirUQ3fOtEsZn0FQr/VxPkg39+W2RtQNIcTiRO8W
ANR7GPbtfz40Oz5453TaSO5tRDtrcZUknSxGSmR37Iq4LnpNzGEQT/rOedMgEYiE
Ge26YJ20HnHMgHpAAj24GrkPjyJ95t7u9VAZgizO6zRSUvbFWOAdb3E6NhsFpD11
g61DSa8gPzBjUel8nnEG
=ia9S
-----END PGP SIGNATURE-----





More information about the pkg-kolab-devel mailing list