Removing /etc/gshadow.lock manually and running 'sudo /usr/sbin/useradd -d /var/run/sshd -g nogroup -s /usr/sbin/nologin -u 112 sshd' resolved this. But I don't know, why it was locked, this system was set up yesterday, pretty much a stock configuration...
-- package openssh-server 1:5.1p1-5ubuntu1 failed to install: sub process post-installation script returned error code 1 https://bugs.launchpad.net/bugs/391551 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to openssh in ubuntu. -- 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