Problem install Erlang in Linux Mint 19.2

Hello, I’m trying install the Erlang using this information:

  • Add Erlang Solutions repo: wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
  • Run: sudo apt-get update
  • Install the Erlang/OTP platform and all of its applications: sudo apt-get install esl-erlang
  • Install Elixir: sudo apt-get install elixir

But, when I running the “sudo apt-get update”, this error occours:
Err:7 http://binaries.erlang-solutions.com/debian tina Release
404 Not Found [IP: 13.35.115.61 80]

I think that this server 13.35.115.61 don’t respond, returning error 404.

Anybody helps me?

1 Like

Also consider https://asdf-vm.com/
This will help you install Elixir and Erlang + change versions later.

For the 404 I’m not sure what should be the next step to debug it.

3 Likes

Mint is using a different identifier than what it’s base Ubuntu install is.

https://www.linuxmint.com/download_all.php

The release page above lists “Tina” as built on top of “Ubuntu Bionic”. You can edit the apt source file that was created by the erlang solutions deb (to change Tina to Bionic), or use asdf like mentioned above.

Just changing the identifier might not be enough. That will only work if ESL does in fact provide a package at all.

Sadly it happens sometimes that they list packages as available, but they haven’t got uploaded. Or the index for an older distribution release gets bumped, but never uploaded. This happened in the past and will probably continue to happen.

I’d always point to asdf as installation means, as it allows choosing exact version pairs of compilers and runtimes.

By using some random distribution packages you often get up to date erlang, but a elixir that’s compiled against and older version and therefore might miss features.

Thanks guys,

I changed my /etc/apt/sources.list.d/erlang-solutions.list
From:
deb http://binaries.erlang-solutions.com/debian tina contrib
To:
deb http://binaries.erlang-solutions.com/debian bionic contrib

and it worked.

4 Likes

I know this is from October but I just wanted to login and say thanks for this. Everybody just saying use asdf is kind of a cop out, especially since asdf failed to install erlang too. I updated this to bionic path in the file though and everything works!!!

It’s worked for me.