[Bug 811154] Re: package openssh-server 1:5.8p1-1ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

Jason Odoom jasonodoom at gmail.com
Sat Jul 16 17:51:15 UTC 2011


Here is the output of command 'sudo dpkg --configure -a': jasono at Ubuntu:~$
sudo dpkg --configure -a
Setting up qemu-kvm (0.14.0+noroms-0ubuntu4.3) ...
qemu-kvm start/running
Setting up libvirt-bin (0.8.8-1ubuntu6.2) ...
Adding group `libvirtd' (GID 134) ...
Done.
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /var/lib/libvirt -g kvm -s /bin/false -u 119
libvirt-qemu' returned error code 1. Exiting.
dpkg: error processing libvirt-bin (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up kvm (1:84+dfsg-0ubuntu16+0.14.0+noroms+0ubuntu4.3) ...
Setting up openssh-server (1:5.8p1-1ubuntu3) ...
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /var/run/sshd -g nogroup -s /usr/sbin/nologin
-u 119 sshd' returned error code 1. Exiting.
dpkg: error processing openssh-server (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.1; however:
  Package mysql-server-5.1 is not installed.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-virt-server:
 ubuntu-virt-server depends on libvirt-bin; however:
  Package libvirt-bin is not configured yet.
 ubuntu-virt-server depends on openssh-server; however:
  Package openssh-server is not configured yet.
dpkg: error processing ubuntu-virt-server (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libvirt-bin
 openssh-server
 mysql-server
 ubuntu-virt-server
jasono at Ubuntu:~$


Removed passwd.lock and still received an error:
root at Ubuntu:/home/jasono# dpkg --configure -a
Setting up libvirt-bin (0.8.8-1ubuntu6.2) ...
libvirt-bin start/running, process 4041
Setting up openssh-server (1:5.8p1-1ubuntu3) ...
ssh start/running, process 4239
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-5.1; however:
  Package mysql-server-5.1 is not installed.
dpkg: error processing mysql-server (--configure):
 dependency problems - leaving unconfigured
Processing triggers for python-central ...
Setting up ubuntu-virt-server (1.3) ...
Errors were encountered while processing:
 mysql-server
root at Ubuntu:/home/jasono#




Sent from Ubuntu <http://www.ubuntu.com/desktop>.


On Fri, Jul 15, 2011 at 3:04 PM, Andreas Moog <
andreas-launchpad at warperbbs.de> wrote:

> >From the log:
>
> Setting up libvirt-bin (0.8.8-1ubuntu6.2) ...
> Adding group `libvirtd' (GID 132) ...
> groupadd: cannot lock /etc/group; try again later.
> addgroup: `/usr/sbin/groupadd -g 132 libvirtd' returned error code 10.
> Exiting.
>
> Please remove /etc/group.lock and run:
>
> 'sudo dpkg --configure -a"
>
> ** Changed in: openssh (Ubuntu)
>       Status: New => Invalid
>
> ** Converted to question:
>   https://answers.launchpad.net/ubuntu/+source/openssh/+question/164934
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/811154
>
> Title:
>  package openssh-server 1:5.8p1-1ubuntu3 failed to install/upgrade:
>  ErrorMessage: subprocess installed post-installation script returned
>  error exit status 1
>
> Status in “openssh” package in Ubuntu:
>   Invalid
>
> Bug description:
>  Encountered during Partial upgrade.
>
>  ProblemType: Package
>  DistroRelease: Ubuntu 11.04
>  Package: openssh-server 1:5.8p1-1ubuntu3
>  ProcVersionSignature: hostname 2.6.38-8.42-generic 2.6.38.2
>  Uname: Linux 2.6.38-8-generic i686
>  Architecture: i386
>  Date: Fri Jul 15 13:02:29 2011
>  ErrorMessage: ErrorMessage: subprocess installed post-installation script
> returned error exit status 1
>  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386
> (20101007)
>  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code
> 255: Privilege separation user sshd does not exist
>  SourcePackage: openssh
>  Title: package openssh-server 1:5.8p1-1ubuntu3 failed to install/upgrade:
> ErrorMessage: subprocess installed post-installation script returned error
> exit status 1
>  UpgradeStatus: Upgraded to natty on 2011-07-15 (0 days ago)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/811154/+subscriptions
>

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

Title:
  package openssh-server 1:5.8p1-1ubuntu3 failed to install/upgrade:
  ErrorMessage: subprocess installed post-installation script returned
  error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/811154/+subscriptions



More information about the Ubuntu-server-bugs mailing list