[Bug 1785584] Re: 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

2018-08-08 Thread Andreas Hasenack
That is most curious :)

Thanks for coming back to us with what happened, good to know it's
fixed. I'll mark this bug as invalid then, but if you ever see this
again, or find out how the incorrect group name ended in /etc/group,
please let us know, and feel free to reopen the bug if you think it was
caused by the package somehow.

Thanks!


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

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to dovecot in 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-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1785584] Re: 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

2018-08-07 Thread Andreas Hasenack
>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
Server, which is subscribed to dovecot in 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-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs