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

Re: installing a package from "Config-files" state earlier than the most recent stable release

Manoj Srivastava <srivasta@debian.org> wrote:

> On 14 Jun 2006, Steve Langasek outgrape:
>> Just like there's no guarantee that saying "no" to a conffile prompt
>> when upgrading across stable releases will give you a usable
>> package.
>         I prefer in that case not to install the new version of the
>  package; since questions can be missed in a dist-upgrade.  Some of my
>  packages default to not upgrading unless some questions are answered
>  affirmatively -- so the end result is still a working package (as
>  long as the dependencies still exist).

How do you achieve this?  The conffile questions are displayed after the
new package is unpacked, so isn't a failing postinst all you can get?
How do you get back to the old version?

Yet an other approach:  The teTeX packages have the problem that if some
conffile questions are answered "no" and the old versions kept, the
postinst will fail when building the formats.  Instead of trying to do
that, we check for the critical changes, and let the postinst exit with
a debconf error message. (In fact it's tex-common's postinst).

Regards, Frank
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)

Reply to: