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

Joey Hess joeyh at debian.org
Fri Dec 11 19:13:26 UTC 2009


Raphael Hertzog wrote:
> > 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.
> 
> Right.
> 
> > Perhaps dpkg-reconfigure needs to call dpkg --configure --pending ?
> 
> Indeed, it's probably a good idea. Or maybe: "dpkg --triggers-only
> --pending" (but reading the doc I'm not sure if --configure is not
> better).

Of course this will lead to the problem that dpkg-reconfigure could
start doing all sorts of things unrelated to what it was asked to do,
including configuring many unrelated packages if used after a failed apt
run, for example.

-- 
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/20091211/15d2a5e8/attachment.pgp>


More information about the Debconf-devel mailing list