[Bug 788419] Re: package openssh-server 1:5.8p1-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 useradd: cannot lock /etc/gshadow; try again later

mikef187 788419 at bugs.launchpad.net
Thu May 26 01:49:31 UTC 2011


The lock file did exist.
I ran

cp /etc/gshadow ~/
rm /etc/gshadow*
apt-get install -f

This fixed the problem

Thanks for responding so quickly


On Wed, May 25, 2011 at 7:38 PM, Adam Gandelman
<788419 at bugs.launchpad.net>wrote:

> Hi Mike--
>
> Thanks for taking the time to report this bug.  Does /etc/gshadow.lock
> exist?  If so, does renaming/removing the *.lock file resolve the issue?
> This is probably similar to bug #432964. Its possible another process
> that created the lock aborted abnormally before cleaning up after
> itself.
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/788419
>
> Title:
>  package openssh-server 1:5.8p1-1ubuntu3 failed to install/upgrade:
>  subprocess installed post-installation script returned error exit
>  status 1 useradd: cannot lock /etc/gshadow; try again later
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/788419/+subscribe
>

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/788419

Title:
  package openssh-server 1:5.8p1-1ubuntu3 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1 useradd: cannot lock /etc/gshadow; try again later

Status in “openssh” package in Ubuntu:
  New

Bug description:
  some sort of packaging/apt problem .. seems to not be exclusive  to
  ssh

  ProblemType: Package
  DistroRelease: Ubuntu 11.04
  Package: openssh-server 1:5.8p1-1ubuntu3
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  NonfreeKernelModules: wl fglrx
  Architecture: i386
  Date: Wed May 25 18:53:34 2011
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  SourcePackage: openssh
  Title: package openssh-server 1:5.8p1-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to natty on 2011-04-30 (25 days ago)




More information about the foundations-bugs mailing list