[Python-modules-team] Bug#547322: [libapache2-mod-python] Purge after removal fails

Lars Kruse devel at sumpfralle.de
Fri Sep 18 15:43:53 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libapache2_mod_python_postrm_failure.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20090918/cc87c3ba/attachment.bin>


More information about the Python-modules-team mailing list