asdf-vm / asdf-elixir

Elixir plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
473 stars 70 forks source link

curl: (7) Couldn't connect to server - unzip: cannot find or open /home/user/.asdf... #112

Closed torgeirak closed 2 years ago

torgeirak commented 2 years ago

Going through the installation of elixir through .asdf. I have installed .asdf and erlang 24.0.5 The folder "/home/user/.asdf/downloads/elixir/1.12.2-otp-24/" exists, but as far as I can see there is currently no "elixir-precompiled-1.12.2-otp-24.zip"-file present. Not sure if there should be. I have installed unzip.

$ asdf install elixir 1.12.2-otp-24 ==> Checking whether specified Elixir release exists... ==> Downloading 1.12.2-otp-24 to /home/user/.asdf/downloads/elixir/1.12.2-otp-24/elixir-precompiled-1.12.2-otp-24.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Couldn't connect to server ==> Copying release into place unzip: cannot find or open /home/user/.asdf/downloads/elixir/1.12.2-otp-24/elixir-precompiled-1.12.2-otp-24.zip, /home/user/.asdf/downloads/elixir/1.12.2-otp-24/elixir-precompiled-1.12.2-otp-24.zip.zip or /home/user/.asdf/downloads/elixir/1.12.2-otp-24/elixir-precompiled-1.12.2-otp-24.zip.ZIP.

Stratus3D commented 2 years ago

It seems to work for me:

asdf install elixir 1.12.2-otp-24
==> Checking whether specified Elixir release exists...
==> Downloading 1.12.2-otp-24 to /Users/trevorbrown/.asdf/downloads/elixir/1.12.2-otp-24/elixir-precompiled-1.12.2-otp-24.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 6017k  100 6017k    0     0  6716k      0 --:--:-- --:--:-- --:--:-- 6708k
==> Copying release into place

It looks like a network blip. What happens if you re-install? asdf uninstall elixir 1.12.2-otp-24 followed by asdf install elixir 1.12.2-otp-24

Stratus3D commented 2 years ago

Closing due to lack of a response.