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 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