Sdkman-cli: Installing failed for springboot on cygwin

Created on 21 Jun 2019  路  11Comments  路  Source: sdkman/sdkman-cli

I can not install springboot and any other package supplied by sdkman;
Here is the print log:
`
cdmahao@CDYJY-455F9FF1 ~
$ sdk install springboot

Downloading: springboot 2.1.6.RELEASE

In progress...

Warning: Failed to create the file
Warning: /home/cdmahao/.sdkman/tmp/WTHWg8hMF2RKVKrsVUT2cAiJxDHDSYv4.bin: No
Warning: such file or directory
0.0%
curl: (23) Failed writing body (0 != 606)
mv: '/home/cdmahao/.sdkman/tmp/WTHWg8hMF2RKVKrsVUT2cAiJxDHDSYv4.bin' (stat): No such file or directory
`
Can you help on this?

Most helpful comment

Ok, Thanks for your reminding.

All 11 comments

Please follow the guidelines before opening new issues here. We can help with user issues on the appropriate slack channel.

Closing this as it's not a bug.

Ok, Thanks for your reminding.

Please follow the guidelines before opening new issues here. We can help with user issues on the appropriate slack channel.

Closing this as it's not a bug.

I can not join following channels at all; Is there anyway I can get the channel invitation link?

I'll make this a bit clearer on the template, but you can sign up very easily by going to https://slack.sdkman.io

I'll make this a bit clearer on the template, but you can sign up very easily by going to https://slack.sdkman.io

Thanks a lot. :-)
BR

I've updated all templates so slack access should be a bit easier now.

I've updated all templates so slack access should be a bit easier now.

Appreciate that, but I found the links of the slack channels are not corresponding to the link text in the templates;

Will take a closer look thanks.

Will take a closer look thanks.

:-)

Will take a closer look thanks.

:-)
Hello, have you found a solution? I have the same problem.

The short version of the solution is this:

Install Cygwin's version of curl. There's a copy in C:\Windows\System32\curl.exe but it doesn't work for SDKMAN!

Since the record in Slack may not be permanent, and this page is easier to find with a search engine, I'll copy here what I found in Slack (the same or very similar issue).

Thanks for the solution @hantsy!

Hantsy on June 30th, 2019:

I am trying to install spring boot by Sdk, but failed.
I am using Windows 10 v1903, AdoptOpenJdk 11.0.3, Cygwin with zip/unzip installed.
When I ran the sdk install springboot in Cygwin terminal.
And got the following message.

 sdk install springboot

Downloading: springboot 2.1.6.RELEASE

In progress...

Warning: Failed to create the file
Warning: /home/hantsy/.sdkman/tmp/nVfHhQzE6lm4ddKPyGigGxFOJhOw1cYB.bin: No
Warning: such file or directory
                                                                           0.0%
curl: (23) Failed writing body (0 != 1870)
mv: cannot stat '/home/hantsy/.sdkman/tmp/nVfHhQzE6lm4ddKPyGigGxFOJhOw1cYB.bin': No such file or directory

Not sure where is wrong. Any suggestions to overcome this barrier?
Thanks

When I tried to install Java.

sdk install java

Downloading: java 11.0.3-zulu

In progress...


curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - The revocation function was unable  check revocation because the revocation server was offline.
mv: cannot stat '/home/hantsy/.sdkman/tmp/Np5CyjTEy7b8OpYjcFwOVFknAPIrqldI.bin': No such file or directory

Got resolved by installing curl into Cygwin instead of the system existed one.
It seems the Windows built-in curl is buggy.
Which cause the problems

See also https://github.com/sdkman/sdkman-cli/issues/703

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ilopmar picture ilopmar  路  5Comments

hho picture hho  路  4Comments

ncowles picture ncowles  路  3Comments

andvgal picture andvgal  路  7Comments

pshirshov picture pshirshov  路  6Comments