Opened 7 years ago

Closed 5 years ago

#251 closed defect (fixed)

openssh clients won't install

Reported by: guzzi Owned by:
Priority: major Milestone:
Component: rpm Version:
Severity: low Keywords:
Cc: dave.r.yeo@…, gabriele.gamba@…

Description

Using Arca Noae Package Manager. The file downloads, installation fails.

Error unpacking rpm package openssh-clients-5.9p1-1.oc00.i686

Change History (9)

comment:1 Changed 7 years ago by Silvan Scherrer

when doing such tasks and they fail, please always attach a log or screenshot doing it with yum from cmdline. This is easier for us to see what might go wrong.

comment:2 Changed 7 years ago by guzzi

Install 1 Package

Total size: 551 k
Installed size: 551 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction

Installing : openssh-clients-5.9p1-1.oc00.i686 1/1

Error unpacking rpm package openssh-clients-5.9p1-1.oc00.i686
fout: unpacking of archive failed: cpio: read

Failed:

openssh-clients.i686 0:5.9p1-1.oc00

Complete!

comment:3 Changed 7 years ago by Silvan Scherrer

this is clearly a broken upload then. I hope the maintainer will reupload it soon.

comment:4 Changed 7 years ago by jmontleon

I was able to rpm2cpio and then extract the files with cpio. Next if you've yum updated the system and replaced the original version of openssl you'll find they will complain about the mismatch. Even if openssl is downgraded to the appropriate version I am unable to make a successful connection. I get prompted for the key and then password, receive a tcgetattr and select errors which I gather aren't supposed to be critical, and then the connection ends.

I did manage to create a working rpm that gets to the same state, but I had to make a lot of changes to the SPEC file to get it to build in the ArcOS environment and use unix2dos on the patch file to get it to apply cleanly. I also had to uninstall libcx-devel as poll.h was causing problems with compiling.

Maybe someone else can get further than me on the above errors I am now stuck on.

An updated SRPM is at https://drive.google.com/a/montleon.com/file/d/0B0vm64JM4bFZeDA1R0xnQXZOcjQ/view?usp=sharing if anyone wants to work on it.

Paul Smedley might be able to explain what's needed to make this work. I see a comment from him about the select error on this thread: http://www.os2world.com/forum/index.php?topic=1127.0 and he has a working 5.9p1 ssh.exe at http://smedley.id.au/tmp/ssh.zip so it seems it might be possible to make it work.

Last edited 7 years ago by jmontleon (previous) (diff)

comment:5 Changed 7 years ago by psmedley

I'll try and dig out my sources for the ssh.exe in the above link - IIRC it was still a bit screwy due to some missing terminal api's in klibc....

Version 0, edited 7 years ago by psmedley (next)

comment:6 Changed 6 years ago by Dave Yeo

Cc: dave.r.yeo@… added

comment:7 Changed 6 years ago by ggamba

Cc: gabriele.gamba@… added

comment:8 Changed 6 years ago by Silvan Scherrer

please try the latst openssh from netlabs exp rpm repo. I uploaded a new openssh. I hope it still works, as I didn't test it much so far. But I would be willing to do more tests with some power ssh users of course.

comment:9 Changed 5 years ago by Silvan Scherrer

Resolution: fixed
Status: newclosed

i uploaded a new version to the exp repo. please report any further issues at https://github.com/bitwiseworks/openssh-portable

Note: See TracTickets for help on using tickets.