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/
On Wed, Mar 05, 2008 at 08:11:18AM -0000, Colin Watson wrote: VERSION based on dpkg --version or similar (see e.g. initramfs- tools.postinst for the possible effects of this)
> I don't think this is quite right yet. Based on my conversation with Ian
> yesterday:
>
> * dpkg-reconfigure also needs to set DPKG_RUNNING_
> * 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.
-- www.ubuntu. com/
Soren Hansen |
Virtualisation specialist | Ubuntu Server Team
Canonical Ltd. | http://