Package: python-central
Version: 0.5.15
Severity: important
Tags: patch
User: [EMAIL PROTECTED]
Usertags: piuparts-stable-upgrade piuparts-stable-upgrade-20071130

Hi!

I have been analyzing packages for the piuparts test, and have
observed that ~500 packages fail the piuparts because python-central
doesn't purge the /usr/share/pycentral-data/pyversions.pyc file.

The gzipped log of the piuparts run for python-central is
attached. The problem is that the process

Install Stable python-central -> upgrade to sid -> purge

lets /usr/share/pycentral-data/pyversions.pyc remain
unremoved. However, it should be removed, I guess.

Please consider fixing this bug, as it is a Lenny release
recommendation. [1]. I have attached a patch which attempts to do
this, though I have not tested it.

Thanks.

Kumar

[1]: http://release.debian.org/lenny-goals.txt
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
diff -Nru /tmp/OFK4hU7NyI/python-central-0.5.15/debian/postrm 
/tmp/FhQtwny9PY/python-central-0.5.15/debian/postrm
--- a/debian/postrm     2006-06-28 00:00:38.000000000 +0530
+++ b/debian/postrm     2007-12-02 18:10:07.000000000 +0530
@@ -3,6 +3,7 @@
 if [ "$1" = "purge" ]; then
     # remove log file
     rm -f /var/log/pycentral.log
+    rm -f /usr/share/pycentral-data/pyversions.pyc
 fi
 
 #DEBHELPER#

Attachment: python-central.log.bz2
Description: Binary data

Attachment: signature.asc
Description: Digital signature

Reply via email to