[Bug 501234] [NEW] Open SSH installation failed

Diana C chincesdiana at yahoo.com
Tue Dec 29 07:38:43 GMT 2009

Public bug reported:

sudo apt-get install openssh-server openssh-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
openssh-client is already the newest version.
Suggested packages:
  rssh molly-guard openssh-blacklist openssh-blacklist-extra
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 286kB of archives.
After this operation, 766kB of additional disk space will be used.
Get:1 http://ro.archive.ubuntu.com karmic/main openssh-server 1:5.1p1-6ubuntu2 [286kB]
Fetched 286kB in 0s (840kB/s)   
Preconfiguring packages ...
Selecting previously deselected package openssh-server.
(Reading database ... 153810 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-6ubuntu2_i386.deb) ...
Processing triggers for ureadahead ...
Processing triggers for ufw ...
Processing triggers for man-db ...
Setting up openssh-server (1:5.1p1-6ubuntu2) ...
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
useradd: cannot lock /etc/passwd; try again later.
adduser: `/usr/sbin/useradd -d /var/run/sshd -g nogroup -s /usr/sbin/nologin -u 114 sshd' returned error code 1. Exiting.
dpkg: error processing openssh-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
 openssh-server: Install
 openssh-server: Configure
Architecture: i386
Date: Tue Dec 29 09:36:08 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: fglrx
Package: openssh-server 1:5.1p1-6ubuntu2
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: openssh
Title: package openssh-server 1:5.1p1-6ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-16-generic i686

** Affects: openssh (Ubuntu)
     Importance: Undecided
         Status: New

** Tags: apport-package i386

Open SSH installation failed
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.

More information about the Ubuntu-server-bugs mailing list