Hello,
I have the same issue, trying to update to 18.0.39 Update 2 from 18.0.39 Update 1.
Relevant part of the log file:
Setting up bind9 (1:9.11.5.P4+dfsg-5.1+deb10u6) ...
bind9-pkcs11.service is a disabled or a static unit not running, not starting it.
bind9-resolvconf.service is a disabled...