[Piuparts-devel] Bug#677337: piuparts: [install-upgrade-purge] should call apt-get purge, not apt-get remove and dpkg --purge

Andreas Beckmann debian at abeckmann.de
Thu Jun 14 13:51:57 UTC 2012


On 2012-06-14 15:12, Holger Levsen wrote:
> From the piuparts bug templates: "According to policy 7.2 you cannot rely on 
> the depends being available during purge, only the essential packages are 
> available for sure."

With piuparts we want to test that

* the package does not fail to purge if (Pre-)Depends are gone

* the package should not leave anything around after purge (and on a
case by case basis we may decide what is allowed to remain)
(leftover files are considered a warning except for the sid tests)

* the package cleans up properly during purge if the (Pre-)Depends are
available (that's why I'll add these fake-essential packages as ucf and
dbconfig-common are commonly needed for cleanup during purge)

For proper cleanup even without dbconfig-common or ucf, there should
probably be a debhelper command that generates the postinst code ...


Andreas





More information about the Piuparts-devel mailing list