Scoop: openssh install failed

Created on 27 Sep 2017  路  5Comments  路  Source: lukesampson/scoop

C:>scoop install openssh
Installing 'openssh' (5.4p1-1).
openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma (652 B) [===================================================] 100%
Loading openssh-5.4p1-1-msys-1.0.13-lic.tar.lzma from cache
Loading msysCORE-1.0.13-2-msys-1.0.13-bin.tar.lzma from cache
Loading zlib-1.2.3-2-msys-1.0.13-dll.tar.lzma from cache
Loading libminires-1.02_1-2-msys-1.0.13-dll.tar.lzma from cache
Loading libopenssl-1.0.0-1-msys-1.0.13-dll-100.tar.lzma from cache
Checking hash of openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma... Hash check failed for 'https://sourceforge.net/projects/mingw/files/MSYS/Extension/openssh/openssh-5.4p1-1/openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma'.
Expected:
8c8e6a030a34c341394bb8b9f1760743468a8cc5e4244efc34f7ab3cd3e67b64
Actual:
7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf

Most helpful comment

Does the download from a browser? Maybe you got redirected to a broken mirror. 馃槙

All 5 comments

SourceForge had some problems yesterday.
8c8e6a030a34c341394bb8b9f1760743468a8cc5e4244efc34f7ab3cd3e67b64 is correct.
Run scoop cache rm openssh and try again.

now it works. Thanks!

C:>scoop uninstall openssh
C:>scoop cache rm openssh

C:>scoop install openssh
Installing 'openssh' (5.4p1-1).
Loading openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma from cache
Loading openssh-5.4p1-1-msys-1.0.13-lic.tar.lzma from cache
msysCORE-1.0.13-2-msys-1.0.13-bin.tar.lzma (610.1 KB) [==============================================] 100%
zlib-1.2.3-2-msys-1.0.13-dll.tar.lzma (36.7 KB) [====================================================] 100%
libminires-1.02_1-2-msys-1.0.13-dll.tar.lzma (11.4 KB) [=============================================] 100%
libopenssl-1.0.0-1-msys-1.0.13-dll-100.tar.lzma (654.9 KB) [=========================================] 100%
Checking hash of openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma... ok.
Extracting... done.
Checking hash of openssh-5.4p1-1-msys-1.0.13-lic.tar.lzma... ok.
Extracting... done.
Checking hash of msysCORE-1.0.13-2-msys-1.0.13-bin.tar.lzma... ok.
Extracting... done.
Checking hash of zlib-1.2.3-2-msys-1.0.13-dll.tar.lzma... ok.
Extracting... done.
Checking hash of libminires-1.02_1-2-msys-1.0.13-dll.tar.lzma... ok.
Extracting... done.
Checking hash of libopenssl-1.0.0-1-msys-1.0.13-dll-100.tar.lzma... ok.
Extracting... done.
Linking ~\scoop\apps\openssh\current => ~\scoop\apps\openssh\5.4p1-1
Creating shim for 'scp'.
Creating shim for 'sftp'.
Creating shim for 'slogin'.
Creating shim for 'ssh-add'.
Creating shim for 'ssh-agent'.
Creating shim for 'ssh-keygen'.
Creating shim for 'ssh-keyscan'.
Creating shim for 'ssh'.
'openssh' (5.4p1-1) was installed successfully!

Does the download from a browser? Maybe you got redirected to a broken mirror. 馃槙

Unable to install openssh. I've struggled with installing Scoop and now OpenSSH.

Sorry for the lack of details. I'm unsure as to what any of these errors mean. I had to use "[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12" to install Scoop today and now OpenSSH is not installing. Not sure if related but worth noting.

PS C:\Users> scoop install openssh
Installing 'openssh' (5.4p1-1) [64bit]
openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma (652 B) [============================================================] 100%
openssh-5.4p1-1-msys-1.0.13-lic.tar.lzma (652 B) [============================================================] 100%
msysCORE-1.0.13-2-msys-1.0.13-bin.tar.lzma (652 B) [==========================================================] 100%
zlib-1.2.3-2-msys-1.0.13-dll.tar.lzma (652 B) [===============================================================] 100%
libminires-1.02_1-2-msys-1.0.13-dll.tar.lzma (652 B) [========================================================] 100%
libopenssl-1.0.0-1-msys-1.0.13-dll-100.tar.lzma (652 B) [=====================================================] 100%
Checking hash of openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma... Hash check failed for 'https://sourceforge.net/projects/mingw/files/MSYS/Extension/openssh/openssh-5.4p1-1/openssh-5.4p1-1-msys-1.0.13-bin.tar.lzma'.
Expected:
8c8e6a030a34c341394bb8b9f1760743468a8cc5e4244efc34f7ab3cd3e67b64
Actual:
7a07d3f7cca5c0b38ca811984ef8da536da32932d68c1a6cce33ec2462b930bf

@orielsy Maybe a SourceForge problem (they seem to appear a lot lately 馃槩), try it again and clear the cache: scoop cache rm openssh
SourceForge seems to be down, following the link results in a 404...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thorstenkampe picture thorstenkampe  路  3Comments

roysubs picture roysubs  路  3Comments

bernstein82 picture bernstein82  路  3Comments

benplm picture benplm  路  3Comments

quantuumsnot picture quantuumsnot  路  3Comments