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

Clint Byrum clint at fewbar.com
Thu Sep 30 23:53:39 BST 2010


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 at 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

-- 
package openssh-server 1:5.3p1-3ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
https://bugs.launchpad.net/bugs/652489
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