You can kill dovecot (sudo pkill dovecot) and it will resume package installation/configuration but dovecot will still not be running since it cannot be started with the present bug.
You can kill dovecot (sudo pkill dovecot) and it will resume package installation/ configuration but dovecot will still not be running since it cannot be started with the present bug.