Package: apt
Version: 0.7.9
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 ~900 packages fail the piuparts because apt doesn't
purge the /var/log/apt/term.log file.

The gzipped log of the piuparts run for adacgi (just as an example) is
attached. The problem is that the process

Install Stable adacgi -> upgrade to sid -> purge

lets /var/log/apt/term.log 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 attempst to do
this.

Thanks.

Kumar

[1]: http://release.debian.org/lenny-goals.txt

-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
diff -urN apt-0.7.9.orig/debian/postrm apt-0.7.9/debian/postrm
--- apt-0.7.9.orig/debian/postrm        2007-12-02 20:00:37.000000000 +0530
+++ apt-0.7.9/debian/postrm     2007-12-02 20:00:55.000000000 +0530
@@ -16,5 +16,7 @@
        purge)
                rm -rf /var/cache/apt
                rm -rf /var/lib/apt
+               rm -rf /var/log/apt/term.log
+               rm -rf /var/log/apt/term.log*gz
 esac
 

Attachment: adacgi.log.gz
Description: Binary data

Attachment: signature.asc
Description: Digital signature

Reply via email to