[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 Capello
luca at pca.it
Thu Jun 14 13:23:47 UTC 2012
Hi Holger!
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.
Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20120614/26247e32/attachment.pgp>
More information about the Piuparts-devel
mailing list