[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?

[Frank Küster]
> assume that an update to a package brings in a changed conffile, and
> because the local admin had changed the conffile, he is asked, and he
> refuses to accept the changed version.
> Because one of the changes in the new version was crucial for the
> function of the program, the postinst script fails to initialize it, and
> the whole installation process fails.

My proposal to avoid such problem is to implement multilevel
configuration, where the package default configuration and the local
overrides are stored in separate files, making sure local
configuration do not affect changes to the package default, and thus
no question is asked during upgrade.

I talked a bit about this during debconf5.  Have a look at
as well as the slides available from

Moving tetex to such mechanism would require some work. :)

Reply to: