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

Bug #811154 reported by Jason Odoom

This bug report was converted into a question: question #164934: package openssh-server 1:5.8p1-1ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1.

14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Invalid
Undecided
Unassigned

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)

Revision history for this message
Jason Odoom (jasonodoom) wrote :
Revision history for this message
Andreas Moog (ampelbein) 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
Revision history for this message
Jason Odoom (jasonodoom) wrote : Re: [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
Download full text (4.3 KiB)

Here is the output of command 'sudo dpkg --configure -a': jasono@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@Ubuntu:~$

Removed passwd.lock and still received an error:
root@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@Ubuntu:/home/jasono#

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

On Fri, Jul 15, 2011 at 3:04 PM, Andreas Moog <
<email address hidden>> 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:
>...

Read more...

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.