#624363 apt: should remove its log files on purge

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Sven Joachim
Date:
2015-08-14 14:15:03 UTC
Severity:
wishlist
#624363#5
Date:
2011-04-27 19:55:47 UTC
From:
To:
Debian Policy recommends to remove log files on purge (§10.8):

     Log files should be removed when the package is purged (but not when
     it is only removed).  This should be done by the `postrm' script when
     it is called with the argument `purge' (see Section 6.8, `Details of
     removal and/or configuration purging').

Currently apt's postrm does not do this, here is an (untested ;-))
patch:

#624363#10
Date:
2011-04-28 09:02:47 UTC
From:
To:
I don't think APT should do this. Upgrade logs are important, even if
you; for example, purge APT and install Cupt, you might need your
upgrade logs for bisecting.

With Cupt sharing the other APT directories, we should probably also
find a way to not delete them when Cupt is installed.

#624363#15
Date:
2011-04-28 09:02:47 UTC
From:
To:
I don't think APT should do this. Upgrade logs are important, even if
you; for example, purge APT and install Cupt, you might need your
upgrade logs for bisecting.

With Cupt sharing the other APT directories, we should probably also
find a way to not delete them when Cupt is installed.