[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg purges on 'remove'



On Sun, May 01, 2005 at 11:11:27PM +0200, martin f krafft wrote:
> also sprach Joey Hess <joeyh@debian.org> [2005.04.29.1934 +0200]:
> > Since purging consists only of running postrm purge and deleting
> > conffiles, a package that meets these criteria does not need anything
> > done to be purged, so removing it sets its state to purged.
> 
> Makes perfect sense. This is not documented anywhere, AFAICT. I just
> verified it against the source code.

I think I saw it in policy once.

Yep. It's mentioned in 6.7: "Note that packages which have no postrm
and no conffiles are automatically purged when removed, as there is no
difference except for the dpkg status."

cheers,
Max



Reply to: