asdf-vm/asdf-erlang

WSL with Ubuntu 22.02 erlang 25 doesn't install but no errors

dmwyatt opened this issue · 2 comments

❯ asdf install erlang 25.2.1
asdf_25.2.1 is not a kerl-managed Erlang/OTP installation
The asdf_25.2.1 build has been deleted
Extracting source code
Building Erlang/OTP 25.2.1 (asdf_25.2.1), please wait...
Erlang/OTP 25.2.1 (asdf_25.2.1) has been successfully built
❯ asdf list
elixir
 *1.14.3-otp-25
erlang
  No versions installed
❯ asdf global erlang 25.2.1
version 25.2.1 is not installed for erlang

I have exactly the same issue w/ Fedora. ~/.asdf/plugins/erlang/kerl-home/builds/asdf_<VER>/otp_install_<VER>.log has complete installation log but ~/.asdf/installs/erlang directory is empty!

If you're reading this and need a work-around to get on with your life:

sed -i 's/\[ -n "$INSTALLED_NAME" \]/false/' ~/.asdf/plugins/erlang/kerl