Since 2:2.0.3-1 the ‘cryptsetup’ package is a transitional dummy package
for ‘cryptsetup-run’ (various scripts and helpers/wrappers) and
‘cryptsetup-initramfs’ (initramfs integration, depending on the former).
finish-install's ‘finish-install.d/10update-initramfs’ currently
(v2.100) runs `dpkg-query -s cryptsetup`, while it only needs to
re-generate the initramfs image if cryptsetup's initramfs installed.
Trivial patch enclosed.
Bug#930229: finish-install: cryptsetup's initramfs integration was moved to a separate package
Also if #930228 is fixed before #930229 (if ‘partman-crypto’ installs
‘cryptsetup-initramfs’ iff. there are devices to be unlocked early in
the boot process), then #930229's Severity should raise to ≥important.
Otherwise if the resume devices(s) and the device(s) holding / and /usr
are not encrypted, but say the one(s) holding /var and/or /home are,
then the initramfs image won't be rebuilt at finish-install stage.