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:
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.
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.