package openssh-server 1:5.3p1-3ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
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
ProcVersionSign
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
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) mirrors. kernel. org/ubuntu/ maverick/main amd64 Packages dpkg/status
openssh-client:
Installed: 1:5.5p1-4ubuntu4
Candidate: 1:5.5p1-4ubuntu4
Version table:
*** 1:5.5p1-4ubuntu4 0
500 http://
100 /var/lib/
Thanks again!
Marking Incomplete pending response from Rahul.