Apparently the install repository isn’t updated for Ubuntu 21.04 yet?
https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
produces a “no release candidate” error on my U21.04. Then
sudo apt-get install esl-erlang
also fails with
Unable to locate package esl-erlang
please try again to download and install
The package is available and valid, should definitely install on ubuntu.
after that you need to
sudo apt-get update
before you install erlang.
Installing Elixir - The Elixir programming language
I would not recommend ASDF for the first steps.
You’re right, there is no
hirsute folder under Erlang solutions’
Index of debian/dists.
I am having the same problem, has anyone found a solution, or should I downgrade to an older Ubuntu version?
rather than downgrading Ubuntu, I’d give asdf a try. The nerves project has a guide how to do that (skip the last step / install of nerves_bootstrap)
This file has been truncated.
Nerves requires a number of programs on your system to work. These include
Erlang, Elixir, and a few tools for packaging firmware images. Nerves is
actively used on MacOS and various Linux distributions. For Windows users, some
people have had success running Linux in a virtual machine or using the Windows
Subsystem for Linux available in Windows 10. If you have issues with any of the
tooling after following the steps below, we recommend you reach out to us in
[the #nerves channel on the Elixir
Nerves requires that the Erlang version running on your development host be
compatible with the Erlang version on the embedded target and also depends on
features added in recent versions of Elixir (`>= 1.7.0`). Because it can be hard
to manage these tool versions with sufficient granularity using operating system
packages, it is recommended that you use [ASDF](https://github.com/asdf-vm/asdf)
to manage Erlang and Elixir installations. This tool works the same on its
supported platforms, so you'll find more details in the All Platforms section
Also doing a +1 for asdf. Makes it so easy to dev for different versions of Elixir and Erlang
Half a year after 21.04 release (which is LTS by the way) they still didn’t update their build to provide hirsute packages. They just don’t care.
You can download 20.04 debs manually and install them, it works.
21.04 is not a LTS release please check the ubuntu website
This article was updated in September 2021 to reflect the new Ubuntu lifecycle. Come April 23rd 2020, Ubuntu 20.04 LTS will be available. It will be the first LTS version of Ubuntu since the 18.04 release, and in this blog, I want to answer the...
You should avoid non LTS release for daily use.
I am also having a problem with installation of elixir in Ubuntu 21.10. This time the message for all the deb packages is similar to this one
E: Failed to fetch http://binaries.erlang-solutions.com/debian/pool/erlang-tools_24.1.7-1%7eubuntu%7eimpish_amd64.deb File has unexpected size (699230 != 699338). Mirror sync in progress? [IP: 126.96.36.199 80]
Should I wait or should I install debian packages manually?
For whoever stumbles upon this while trying to install erlang/elixir to an ubuntu based distro
It seems that the people at erlang-solutions have stopped caring; their packages are completely broken. Do not, I repeat,
do not lose time trying to install erlang using the repo from erlang-solutions.
Instead just bite the bullet and use asdf. It works flawlessly!
Can confirm this on Ubuntu 22.04 and installed instead using
asdf as advised. Could the Elixir website be updated to reflect this? It would have saved a bunch of time