[Piuparts-devel] Bug#677337: Bug#677337: Bug#677337: piuparts: [install-upgrade-purge] should call apt-get purge, not apt-get remove and dpkg --purge
luca at pca.it
Thu Jun 14 13:23:47 UTC 2012
On Thu, 14 Jun 2012 15:12:13 +0200, Holger Levsen wrote:
> 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."
Thank you, I stand corrected.
I still think that this should be solved at the dpkg level, either with
a Post-Depends: or we should have a way to "promote" such files
(dbconfig-common or ucf) to `conffile's status. But then I probably
miss the wider picture.
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: not available
More information about the Piuparts-devel