[Debconf-devel] Bug#560317: dpkg-trigger complains at dpkg-reconfigure time

Joey Hess joeyh at debian.org
Thu Dec 10 20:44:43 UTC 2009

Raphael Hertzog wrote:
> Because the postinst is called by dpkg-reconfigure (of debconf) and it
> doesn't set the same environment variables that dpkg does set when
> it calls the postinst by itself. In particular DPKG_MAINTSCRIPT_PACKAGE
> is missing.
> It's a bug in dpkg-reconfigure, please file it or reassign.

Does it actually make sense for dpkg-trigger to see those environment
variables when the postinst is not being run by dpkg? Seems possible that
any deferred trigger processing it then sets up will not take effect until
the next dpkg run, which could be well after dpkg-reconfigure finishes.

Perhaps dpkg-reconfigure needs to call dpkg --configure --pending ?

see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20091210/b40e2bde/attachment.pgp>

More information about the Debconf-devel mailing list