I should say, before this becomes widespread, that the workaround in comment 14 is entirely wrong: those aren't appropriate values for either DPKG_MAINTSCRIPT_NAME or DPKG_MAINTSCRIPT_PACKAGE, and there is no way to set those variables correctly in /etc/environment.
I've followed up to the Debian bug for this with a fresh set of patches to try to move this along.
I should say, before this becomes widespread, that the workaround in comment 14 is entirely wrong: those aren't appropriate values for either DPKG_MAINTSCRIP T_NAME or DPKG_MAINTSCRIP T_PACKAGE, and there is no way to set those variables correctly in /etc/environment.
I've followed up to the Debian bug for this with a fresh set of patches to try to move this along.