Hi Andreas, thank you for your prompt reaction on the Dovecot problem. I hope that I understand enough of the problem.
I think I found the cause of the problem: paul@klipperaak:~/temp$ grep ovecot /etc/passwd dovecot:x:122:131:Dovecot mail server,,,:/usr/lib/dovecot:/usr/sbin/nologin dovenull:x:123:132:Dovecot login user,,,:/nonexistent:/usr/sbin/nologin paul@klipperaak:~/temp$ grep ovecot /etc/group ovecot:x:131: paul@klipperaak:~/temp$ So, it looks like my /etc/passwd and /etc/group are a mess. I changed "ovecot" into "dovecot" in /etc/group, and now the package seems to install properly. Thanks, Paul. On 08/07/2018 10:48 PM, Andreas Hasenack wrote: > >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