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

Re: dpkg-trigger complains at dpkg-reconfigure time

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

Attachment: signature.asc
Description: Digital signature

Reply to: