Comment 3 for bug 198421

Revision history for this message
Soren Hansen (soren) wrote : Re: [Bug 198421] Re: DPKG_MAINTSCRIPT_PACKAGE not set by dpkg-reconfigure causing dpkg-trigger to fail

On Wed, Mar 05, 2008 at 08:11:18AM -0000, Colin Watson wrote:
> I don't think this is quite right yet. Based on my conversation with Ian
> yesterday:
>
> * dpkg-reconfigure also needs to set DPKG_RUNNING_VERSION based on dpkg --version or similar (see e.g. initramfs-tools.postinst for the possible effects of this)
> * dpkg-reconfigure also needs to make sure that any activated triggers get run before it exits, so needs to call something like 'dpkg --triggers-only -a' at the end

I've updated the branch with those changes. I'm not entirely sure if the
call to "dpkg --triggers-only -a" is in the right place, though.

--
Soren Hansen |
Virtualisation specialist | Ubuntu Server Team
Canonical Ltd. | http://www.ubuntu.com/