Bug#620822: mod_perl is not re-enabled when removing and re-installing the same version
David Cho-Lerat
david at cho-lerat.com
Mon Apr 4 12:39:06 UTC 2011
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
More information about the pkg-perl-maintainers
mailing list