package openssh-server 1:5.3p1-3ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Bug #652489 reported by Rahul Simhadri
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Creating SSH2 RSA key; this may take some time ...ssh-keygen: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory
dpkg: error processing openssh-server (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

this is the error i get when i try to install the open-ssh on my unbuntu

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: openssh-server 1:5.3p1-3ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Thu Sep 30 16:32:59 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 127
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.3p1-3ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Revision history for this message
Rahul Simhadri (rahul-simhadri) wrote :
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hi Rahul, thanks for taking the time to post this bug report and help us make Ubuntu better!

I'm a bit confused by these error messages in DpkgTerminalLog.txt:

Setting up openssh-server (1:5.3p1-3ubuntu4) ...
Creating SSH2 RSA key; this may take some time ...ssh-keygen: error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory

and

Creating SSH2 RSA key; this may take some time ...ssh-keygen: error while loading shared libraries: libncurses.so.4: cannot open shared object file: No such file or directory

The reason being, ssh-keygen is part of the openssh-client package, which does not depend in any way on libncurses4.

Can you please run

sudo apt-cache policy $(dpkg -S `which ssh-keygen`|cut -d: -f1)

And paste the output here in the bug report?

That should show you something like this:

clint@ubuntu:~$ sudo apt-cache policy $(dpkg -S `which ssh-keygen`|cut -d: -f1)
openssh-client:
  Installed: 1:5.5p1-4ubuntu4
  Candidate: 1:5.5p1-4ubuntu4
  Version table:
 *** 1:5.5p1-4ubuntu4 0
        500 http://mirrors.kernel.org/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status

Thanks again!

Marking Incomplete pending response from Rahul.

Changed in openssh (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openssh (Ubuntu) because there has been no activity for 60 days.]

Changed in openssh (Ubuntu):
status: Incomplete → Expired
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.