>From your log:
doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf 
line 13: ssl_key: Can't open file /etc/dovecot/private/dovecot.key: No such 
file or directory

Due to the above issue the service can't restart - and that in turn
breaks the upgrade.


In a default installation that is linked to the snakeoil key (the default 
works, but is not safe to be replaced key).
root@g:~# ll /etc/dovecot/private/dovecot.key
lrwxrwxrwx 1 root root 38 Jan 11 13:51 /etc/dovecot/private/dovecot.key -> 
/etc/ssl/private/ssl-cert-snakeoil.key

The above default is true for Focal (20.04) as well as Groovy (20.10) -
so the difference on your system seems to be some manual configuration.

Once you fix that up and the service can (re)start the upgrade will be
good as well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1910818

Title:
  package dovecot-core 1:2.3.11.3+dfsg1-2ubuntu0.1 failed to
  install/upgrade: installed dovecot-core package post-installation
  script subprocess returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dovecot/+bug/1910818/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to