Opened 8 years ago
Closed 6 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 by , 8 years ago
comment:2 by , 8 years ago
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 by , 8 years ago
this is clearly a broken upload then. I hope the maintainer will reupload it soon.
comment:4 by , 8 years ago
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.
comment:5 by , 7 years ago
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....
Looks like my changes I made are these: http://smedley.id.au/tmp/openssh.diff
I don't recall the logic in some parts, looks like in at least one case we're ignoring errors from select() :) <hack alert>
comment:6 by , 6 years ago
Cc: | added |
---|
comment:7 by , 6 years ago
Cc: | added |
---|
comment:8 by , 6 years ago
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 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
i uploaded a new version to the exp repo. please report any further issues at https://github.com/bitwiseworks/openssh-portable
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.