Your message dated Wed, 10 Jun 2015 17:19:52 +0000
with message-id <[email protected]>
and subject line Re: mod_perl is not re-enabled when removing and re-installing
the same version
has caused the Debian Bug report #620822,
regarding mod_perl is not re-enabled when removing and re-installing the same
version
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
620822: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620822
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libapache2-mod-perl2
Version: 2.0.4-7
Severity: normal
Tags: squeeze sid lenny
-- Package-specific info:
-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:
libapache2-mod-perl2.postinst says :
if [ "$1" = "configure" ] && [ -z "$2" ]; then
a2enmod perl || true
fi
so if one removes (without purging) the package and then
re-installs it with the same version, $2 is not empty -
hence "a2enmod perl" is not be called, and mod_perl is
not automatically re-enabled.
I suggest that
&& [ -z "$2" ]
be removed, as "a2enmod perl || true" should be called
in any case.
Many thanks,
David.
2. Used Components and their Configuration:
*** mod_perl version 2.000004
-------------8<---------- End Bug Report --------------8<----------
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libapache2-mod-perl2 depends on:
ii apache2 2.2.16-6+squeeze1 Apache HTTP Server metapackage
ii apache2-mpm-prefork [a 2.2.16-6+squeeze1 Apache HTTP Server -
traditional n
ii apache2.2-common 2.2.16-6+squeeze1 Apache HTTP Server common files
ii libapr1 1.4.2-6 The Apache Portable Runtime
Librar
ii libaprutil1 1.3.9+dfsg-5 The Apache Portable Runtime
Utilit
ii libc6 2.11.2-10 Embedded GNU C Library:
Shared lib
ii libdb4.8 4.8.30-2 Berkeley v4.8 Database
Libraries [
ii libdevel-symdump-perl 2.08-3 Perl module for inspecting
perl's
ii libperl5.10 5.10.1-17 shared Perl library
ii liburi-perl 1.54-2 module to manipulate and
access UR
ii libwww-perl 5.836-1 Perl HTTP/WWW client/server
librar
ii netbase 4.45 Basic TCP/IP networking system
ii perl [libmime-base64-p 5.10.1-17 Larry Wall's Practical
Extraction
ii perl-base [perlapi-5.1 5.10.1-17 minimal Perl system
Versions of packages libapache2-mod-perl2 recommends:
ii libapache2-reload-perl 0.10-2 Reload Perl modules when
changed o
ii libbsd-resource-perl 1.2904-1 BSD process resource limit
and pri
libapache2-mod-perl2 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: libapache2-mod-perl2
Source-Version: 2.0.8+httpd24-r1449661-1
Hello
That bug was fixed, thanks to dh_apache2
Postinst is now:
# Automatically added by dh_apache2
if true; then
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
for conf in perl ; do
apache2_invoke enmod $conf || exit $?
done
fi
fi
# End automatically added section
This miracle is possible because a2dismod run by local admin as priority
over a2enmod run by maintainer scripts. See a2enmod -m.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and a maintainer will reopen the bug report if appropriate.
--- End Message ---