asdf-erlang icon indicating copy to clipboard operation
asdf-erlang copied to clipboard

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

Open dmwyatt opened this issue 2 years ago • 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

dmwyatt avatar Jan 22 '23 18:01 dmwyatt

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!

meetandrey avatar Feb 21 '23 11:02 meetandrey

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

oskarkook avatar Apr 02 '23 14:04 oskarkook