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

Re: postinst scripts failing because a new conffile wasn't accepted: Is it a bug?

[Henning Makholm]
> Do you mean that every package that offers to edit conffiles based on
> debconf questions is policy-buggy?

'conffile' is dpkg jargon that has a specific meaning: configuration
files that dpkg handles specially w/r/t upgrades and removals.  Editing
a conffile at install time makes no sense.  If you want to edit a
configuration file, don't ship it as a conffile - in fact, don't ship
it at all.  Either generate it ex nihilo from a script, or if you feel
you need a template, ship the template under another name, to be copied
from if the file doesn't already exist.

Attachment: signature.asc
Description: Digital signature

Reply to: