Your message dated Sat, 03 Apr 2010 16:15:28 +0000
with message-id <[email protected]>
and subject line Bug#574229: fixed in libapache2-mod-python 3.3.1-9
has caused the Debian Bug report #574229,
regarding [libapache2-mod-python] Purge after removal fails
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.)


-- 
574229: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574229
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libapache2-mod-python
Severity: normal
Tags: patch

--- Please enter the report below this line. ---

Purging the package after removal fails due to the missing "python" module for
a2dismod.

how to reproduce:
- install the package
- remove it
- purge the configuration

The last step fails due to an exitcode 1 from the post removal script.

The attached patch tolerates a failure of "a2dismod python" and thus allows
to purge the package successfully.

thanks for your work,
Lars

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.30-1-686

Debian Release: squeeze/sid
  990 testing         localhost 

--- Package information. ---
Depends                         (Version) | Installed
=========================================-+-=============
libapache2-mod-python2.3     (>= 3.1.3-3) | 
python                           (>= 2.3) | 2.5.4-2
python                           (<< 2.4) | 2.5.4-2


Package's Recommends field is empty.

Package's Suggests field is empty.


-- 

gpg key: https://systemausfall.org/schluessel/lars-devel.0.asc
--- libapache2-mod-python.postrm.orig	2009-09-18 14:45:08.000000000 +0200
+++ libapache2-mod-python.postrm	2009-09-18 14:40:59.000000000 +0200
@@ -3,7 +3,8 @@
 set -e
 
 if [ "$1" = "remove" -o "$1" = "purge" ]; then
-    a2dismod python
+    # module deactivation may fail, if the package was "removed" before and then later "purged"
+    a2dismod python || true
 fi
 
 # mod_python.load renamed to python.load in 3.3.1-3

--- End Message ---
--- Begin Message ---
Source: libapache2-mod-python
Source-Version: 3.3.1-9

We believe that the bug you reported is fixed in the latest version of
libapache2-mod-python, which is due to be installed in the Debian FTP archive:

libapache2-mod-python-doc_3.3.1-9_all.deb
  to main/liba/libapache2-mod-python/libapache2-mod-python-doc_3.3.1-9_all.deb
libapache2-mod-python_3.3.1-9.diff.gz
  to main/liba/libapache2-mod-python/libapache2-mod-python_3.3.1-9.diff.gz
libapache2-mod-python_3.3.1-9.dsc
  to main/liba/libapache2-mod-python/libapache2-mod-python_3.3.1-9.dsc
libapache2-mod-python_3.3.1-9_amd64.deb
  to main/liba/libapache2-mod-python/libapache2-mod-python_3.3.1-9_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Debian Python Modules Team <[email protected]> 
(supplier of updated libapache2-mod-python package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


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

Format: 1.8
Date: Sat, 27 Mar 2010 14:41:02 +0100
Source: libapache2-mod-python
Binary: libapache2-mod-python libapache2-mod-python-doc
Architecture: source all amd64
Version: 3.3.1-9
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Debian Python Modules Team 
<[email protected]>
Description: 
 libapache2-mod-python - Python-embedding module for Apache 2
 libapache2-mod-python-doc - Python-embedding module for Apache 2 - 
documentation
Closes: 574229
Changes: 
 libapache2-mod-python (3.3.1-9) unstable; urgency=low
 .
   [ Sandro Tosi ]
   * debian/libapache2-mod-python.{prerm, postrm}
     - move a2dismod from postrm (executed too late in the purge process) to
       prerm, so purge can disable the module when it's still available; thanks
       to Lucas Nussbaum for the report; Closes: #574229
   * debian/control
     - bump Standards-Version to 3.8.4 (no changes needed)
     - updated Section to 'httpd' to match override file
Checksums-Sha1: 
 cd6fcb958b190442d473883d4cea93c2eeaeb80b 1523 libapache2-mod-python_3.3.1-9.dsc
 58e0838e59ddbfa19cb83a37d950ae9a784270cb 10370 
libapache2-mod-python_3.3.1-9.diff.gz
 0e0c24291ef0382b1a9396eeba19192be6c66a46 158682 
libapache2-mod-python-doc_3.3.1-9_all.deb
 9e11e81ffa6655ea1b62952c30e3b4a12174e031 133432 
libapache2-mod-python_3.3.1-9_amd64.deb
Checksums-Sha256: 
 8338699c91e13a6a1f829b08f7579dab9318c0dc560f4d53559071afa5d732df 1523 
libapache2-mod-python_3.3.1-9.dsc
 5d152a0fbd75eb12f3075c3f40d0047b6e2109ce6cc188ac06676d46c7929341 10370 
libapache2-mod-python_3.3.1-9.diff.gz
 3e7e9524fccc0115eeb8ba69e2b3cd195d6a5fd2f4d8a9da7ab036a626b65d8b 158682 
libapache2-mod-python-doc_3.3.1-9_all.deb
 b6d347ce7c48430db6d1c88c790b3ae6f8435c081f1a8e5f3e1f7b5c0b7936cf 133432 
libapache2-mod-python_3.3.1-9_amd64.deb
Files: 
 8686dc453fd81ce1bac869200b6ab33a 1523 httpd optional 
libapache2-mod-python_3.3.1-9.dsc
 cd0e86697b04b71a0140b6d83ff01de2 10370 httpd optional 
libapache2-mod-python_3.3.1-9.diff.gz
 123333cbe13dc1553d8d52b20d7547ec 158682 doc optional 
libapache2-mod-python-doc_3.3.1-9_all.deb
 511d5d99ba9f2231b584877d5d7f0bad 133432 httpd optional 
libapache2-mod-python_3.3.1-9_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkuuDSIACgkQAukwV0RN2VCpTgCfchULS6t1Bue0Uk03NgA2Q/yK
cDIAn2Dz9LcND8v9YsrvTqxoXG5eCp2O
=R60V
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to