Package: libapache2-mod-apreq2
Version: 2.08-5+b1

Installing this package causes the Apache2 module apreq to be
installed in /etc/apache2/mods-available, as it should, but does not
enable the installed module, with the result that it can't be used.
This is exacerbated by the uninformative error message that is
generated when attempting to use the module: the Apache2 error log
will contain something like:

/usr/sbin/apache2: symbol lookup error:
/usr/lib/perl5/auto/APR/Request/Apache2/Apache2.so: undefined symbol:
apreq_handle_apache2

This can be fixed by adding a post-installation script that enables
the module.  For example:

#!/bin/sh -e

case "$1" in
    configure|upgrade)
        a2enmod apreq
        invoke-rc.d apache2 restart
        ;;

    abort-upgrade|abort-remove|abort-deconfigure)
        ;;

    *)
        echo "postinst called with unknown argument '$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#

exit 0



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to