package policykit 0.9-4ubuntu1 failed to install/upgrade with "useradd: cannot lock /etc/passwd; try again later."

Bug #534327 reported by melon.sp4nk
62
This bug affects 12 people
Affects Status Importance Assigned to Milestone
policykit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

WORKAROUND: sudo rm /etc/*.lock (thanks to melon.sp4nk)

Binary package hint: policykit

while xubuntu-desktop install via synaptic

ProblemType: Package
Architecture: amd64
Date: Mon Mar 8 13:24:02 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: fglrx
Package: policykit 0.9-4ubuntu1
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: policykit
Title: package policykit 0.9-4ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-20-generic x86_64

Revision history for this message
melon.sp4nk (melon-sp4nk) wrote :
Revision history for this message
melon.sp4nk (melon-sp4nk) wrote :

because of:

"useradd: cannot lock /etc/passwd; try again later."

fix:

sudo rm /etc/*.lock

Changed in policykit (Ubuntu):
status: New → Fix Committed
tags: added: karmic
Revision history for this message
shankao (shankao) wrote :

@melon.sp4nk: the status change to "fix commited" should be made when the error is fixed in the package itself, instead of that manual workaround (anyway, thanks for it!), as a less experienced user can have problems with it.

Annotating the workaround in the bug's description and setting status back to new.

Changed in policykit (Ubuntu):
status: Fix Committed → New
description: updated
summary: - package policykit 0.9-4ubuntu1 failed to install/upgrade: subprocess
- installed post-installation script returned error exit status 1
+ package policykit 0.9-4ubuntu1 failed to install/upgrade with "useradd:
+ cannot lock /etc/passwd; try again later."
Revision history for this message
shankao (shankao) wrote :

Confirmed after 3 other duplicate reports found

Changed in policykit (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.