Has anyone experienced this problem?
When trying to install gradle 4.4 the following error is displayed:
user@test:~$ sdk install gradle 4.4
Downloading: gradle 4.4
In progress...
Warning: Failed to open /home/user/.sdkman/tmp/gradle-4.4.headers.tmp curl: (23) Failed writing received data to disk/application mv: unable to get status '/home/user/.sdkman/tmp/gradle-4.4.bin': Missing file or directory
I removed and reinstalled SDKMAN several times and was unsuccessful
user@test:~$ sdk version
SDKMAN 5.16.0
---
Ubuntu v20.04
---
This is because maybe you are using curl installed from snap. Try use curl from apt:
$ sudo snap remove curl
$ sudo apt install curl
Had similar issues which were solved by creating the missing ~/.sdkman/tmp
folder.
mkdir ~/.sdkman/tmp
Errors for search purposes:
bash: line 153: /Users/user/.sdkman/tmp/sdkman-5.18.2.zip: No such file or directory
'curl --fail --location --progress-bar "${SDKMAN_SERVICE}/broker/download/sdkman/selfupdate/${SDKMAN_VERSION}/${SDKMAN_PLATFORM}" > "$sdkman_zip_file"': command failed with exit code 1.
curl: Failed to open /Users/azef/.sdkman/tmp/java-23-tem.headers.tmp
curl: (23) Failed writing received data to disk/application
grep: /Users/azef/.sdkman/tmp/java-23-tem.headers.tmp: No such file or directory
__sdkman_download:33: no such file or directory: /Users/azef/.sdkman/tmp/hook_post_java_23-tem.sh
__sdkman_download:source:35: no such file or directory: /Users/azef/.sdkman/tmp/hook_post_java_23-tem.sh
__sdkman_download:36: command not found: __sdkman_post_installation_hook
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With