Thanks for your report.
This is very similar to bug 432964. Check that there's a file called
/etc/gshadow.lock, and possibly /etc/shadow.lock, /etc/passwd.lock too; if
that's the case, remove them (no risk), and retry. The problem might come from
a crash while using the guest session: do you
Removing those files fixed the issue. Thanks
** Changed in: openssh (Ubuntu)
Status: Incomplete = Confirmed
--
Open SSH installation failed : useradd: cannot lock /etc/passwd; try again
later.
https://bugs.launchpad.net/bugs/501234
You received this bug notification because you are a
*** This bug is a duplicate of bug 432964 ***
https://bugs.launchpad.net/bugs/432964
Thanks for following up. I'm marking as duplicate of bug 432964. Don't
hesitate to submit any new bug.
** This bug has been marked a duplicate of bug 432964
System crash in guest session locks /etc/passwd
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/37262835/Dependencies.txt
** Attachment added: Dmesg.txt
http://launchpadlibrarian.net/37262836/Dmesg.txt
** Attachment added: DpkgTerminalLog.gz
http://launchpadlibrarian.net/37262838/DpkgTerminalLog.gz
--
Open SSH