[Pkg-postgresql-public] GiST rebuild

Gerfried Fuchs rhonda at deb.at
Wed Nov 12 18:35:50 UTC 2008


* Martin Pitt <mpitt at debian.org> [2008-11-12 19:25:01 CET]:
> Argh, maybe not. My initial thinking was that debconf-ish stuff is
> either run at the start of the postinst, or the .config is called by
> apt right before the unpacking starts, isn't it? So the script needs
> to make sure that it doesn't try to fix the gist index if the old
> version is still installed and debconf is deferred to postinst.

 config is pulled through apt preconfig hook, but that script only is
allowed to do the debconf question dialogues and /nothing/ else. The
actual code still has to be in the postinst that extracts the
informations from the debconf cache and does still run after the package
and all its dependencies are unpacked. Given that it's only needed to be
done on upgrades you can safely assume that at least _a_ version of the
package was configured before.

> Anyway, the broken index can be safely detected at any time, with any
> version, so merely pointing out the fix-it script is safer IMHO.

 From the worst-case scenario Markus pointed out I rather would only go
with a NEWS.Debian entry informing the people, too.

 So long,
Rhonda



More information about the Pkg-postgresql-public mailing list