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

Holger Levsen holger at layer-acht.org
Thu Jun 14 13:12:13 UTC 2012

Hi Luca,

On Donnerstag, 14. Juni 2012, Luca Capello wrote:
> To summarize: I do not remember where in the Debian Policy there is
> specified that a maintainer script should use binaries only from the
> (Pre-)Depends: packages.  If we would enforce this rule, then piuparts
> is not at fault.  But IMHO the problem is that there is no way to
> specify a Post-Depends:, i.e. the fact that a dependency must be
> available *after* removal (so for purging).

policy says you can only rely on essential packages in purge.

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


More information about the Piuparts-devel mailing list