Re: Removing self-managed conffiles?
On Fri, 19 Jan 2007, Justin Pryzby wrote:
> You will have to test with both sarge and etch dpkg (until after etch
> releases). Colin Watson recently wrote  about one of the ssh bugs
> and how this was complicated for him.
> You have to include the logic in the preinst, since the prerm is for the old
> package, since the postinst happens after the conffile prompts, and since the
> postrm happens post rm...
> For sarge dpkg, your logic is correct. AFAIU in Colin's case (perhaps only
> because of the Replaces) the logic causes at least as many problems as it
> solves, since etch dpkg specifically and deliberately prompts the user about
> conffile's which were deleted (sarge dpkg assumes that such deletion was
No dpkg prompts here. It's a self-managed configuration file, i.e.
it's not a "conffile", as such term is reserved for "a conffile in the
dpkg sense". Yes, the subject is misleading. Please, people, don't
use the word conffile to refer to configuration files which are
not conffiles. Thanks :-)