Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Cygwin: curl can't write to .sdkman/tmp: Failed to open /home/<user>/.sdkman/tmp/groovy-4.0.19.headers.tmp #1282

Open
keithdtyler opened this issue Mar 2, 2024 · 2 comments
Labels

Comments

@keithdtyler
Copy link

Bug report

Trying to install groovy using sdkman on cygwin fails with errors.

curl: Failed to open /home/romulus/.sdkman/tmp/groovy-4.0.19.headers.tmp
curl: (23) Failed writing received data to disk/application
grep: /home/romulus/.sdkman/tmp/groovy-4.0.19.headers.tmp: No such file or directory
mv: cannot stat '/home/romulus/.sdkman/tmp/groovy-4.0.19.bin': No such file or directory

I have gone into Windows file settings to clear out special perms and set Everyone to Full Access with recursive apply, no help.

To reproduce
$ sdk install groovy

System info

Windows 10 Home 22H2
Cygwin 3.5.1
GNU bash, version 5.2.21(1)-release (x86_64-pc-cygwin)
SDKMAN 5.18.2

@keithdtyler keithdtyler added the bug label Mar 2, 2024
@kr5ture
Copy link
Contributor

kr5ture commented Mar 6, 2024

Hi. I have encountered such issue once some time ago and it was antivirus fault (Avast). cURL were unable to resolve secure connection using TLS. Try to download manually and see if cURL is able to open valid connection and download content:

$ curl --verbose -O https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-4.0.9.zip

@kr5ture
Copy link
Contributor

kr5ture commented Mar 7, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants