Installing erlang via asdf on Ubuntu fails after "Downloading kerl"

Yes, I suppose I am behind the VPN of my company.
This complicates things … considerably I suppose…

You might try the manual installation and add -k to make curl continue even on insecure connections.

1 Like

This actually worked for kerl !
Is there a way to have all the connections use the -k option by default?

You might be able to set it in ~/curlrc, though I never did it, as I consider it a risk.

2 Likes

First I tried adding the company certificates to my ssl permissions as described in this post:

However, even after that, it didn’t work. So I eventually decided to go with the risky option, which was to use the ~/.curlrc as you mentioned.

https://ec.haxx.se/cmdline/cmdline-configfile#default-config-file

After setting up this file and adding the -k option in it, it worked. I can now finally install the elixir and erlang versions I need to work.

It should be noted, as @NobbZ mentioned, this is a risk. In fact, this is a workaround and not really a solution.

However, for the time being, I will happily take it.

I got the same error from this as the response (Installing erlang via asdf on Ubuntu fails after "Downloading kerl" - #17 by Fl4m3Ph03n1x)

I tried to fix it but couldn’t so I had to wipe my asdf install.

PLEASE DON’T RUN THIS COMMAND UNLESS YOU KNOW WHAT YOU’RE DOING :smiley: (I thought I did…)

It would be great if you could edit the comment with a huge warning message.