[Bug 732864] Re: groupadd: cannot lock /etc/gshadow; try again later.
Serge Hallyn
732864 at bugs.launchpad.net
Wed Jul 20 12:36:58 UTC 2011
*** This bug is a duplicate of bug 523896 ***
https://bugs.launchpad.net/bugs/523896
Thanks for reporting this bug and helping to make Ubuntu better.
To work around this and proceed, please first make sure there is no
stuck useradd process:
ps -ef | grep useradd
ps -ef | grep groupadd
If either of those show results, then please kill the process (reply
here if you need help with that).
Then please remove any stale lock files by doing:
rm -f /etc/passwd.lock /etc/group.lock /etc/gshadow.lock
and then re-try your install or upgrade.
** This bug has been marked a duplicate of bug 523896
useradd: cannot lock /etc/passwd; try again later.
** Changed in: shadow (Ubuntu)
Status: New => Confirmed
** Changed in: shadow (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/732864
Title:
groupadd: cannot lock /etc/gshadow; try again later.
Status in “qemu” package in Ubuntu:
Confirmed
Status in “shadow” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: qemu
Unpacking qemu-kvm (from .../qemu-kvm_0.14.0+noroms-0ubuntu2_i386.deb) ...
groupadd: cannot lock /etc/gshadow; try again later.
addgroup: `/usr/sbin/groupadd -g 125 kvm' returned error code 10. Exiting.
dpkg: error processing /var/cache/apt/archives/qemu-kvm_0.14.0+noroms-0ubuntu2_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/qemu-kvm_0.14.0+noroms-0ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/732864/+subscriptions
More information about the foundations-bugs
mailing list