>From the logs:

Setting up dovecot-core (1:2.2.33.2-1ubuntu4.1) ...
chgrp: invalid group: ‘dovecot’
dpkg: error processing package dovecot-core (--configure):
 installed dovecot-core package post-installation script subprocess returned 
error exit status 1
Setting up libncurses5:amd64 (6.1-1ubuntu1.18.04) ...

The dovecot-core postinst script adds a dovecot user and group before issuing 
that chgrp call:
  adduser --system --group --home /usr/lib/dovecot --gecos "Dovecot mail 
server" \
          --no-create-home --disabled-password --quiet dovecot || true

...
      chgrp dovecot /etc/dovecot/$conffile

Do you have a dovecot group created? Can you paste:

id dovecot
getent group dovecot
getent passwd dovecot

Do you have users in a remote network database such as NIS or LDAP?


** Changed in: dovecot (Ubuntu)
       Status: New => Incomplete

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

Title:
  package dovecot-core 1:2.2.33.2-1ubuntu4.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/1785584/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to