As a workaround, I created a file /etc/apt/apt.conf.d/99hg-fix-unix_chkpwd
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914541DPkg::Post-Invoke { "/usr/bin/stat -c '%n %a %U %G' /sbin/unix\_chkpwd ; chmod 4755 /sbin/unix\_chkpwd ; /usr/bin/stat -c '%n %a %U %G' /sbin/unix\_chkpwd"; };
which ensures the necessary permissions after each update