Only Elixir 1.11.4 is guaranteed to work with OTP 24. In this case, we were using a private API, which was removed on OTP 24, and we fixed it on more recent Elixir versions.
As of today (2021-05-17) it looks like newest Elixir version that the erlang-solutions repo has is 1.11.2 from 2020-11-03. It looks like there are 2 updates since that it’s missing:
1.11.3 on 2021-01-04
1.11.4 on 2021-03-16
What I’ve done for now on Ubuntu 20.04 is install the most recent version of Erlang 23 and pin it with apt-mark like this:
$ sudo apt-get install esl-erlang=1:23.3.1-1
$ sudo apt-mark hold esl-erlang
When a version of Elixir that supports OTP 24 is published I’ll remove the hold like this:
I’m not really sure why Erlang Solutions is publishing new Erlang release but not publishing new Elixir releases. The Debian package indicates that any version of Erlang >= 1:23.1 should work but that doesn’t seem to be correct. The dependencies should probably be updated to require a version of Erlang < 24 if indeed Elixir 1.11.2 does not support Erlang 24.
Does anyone know if Erlang Solutions is going to continue publishing Debian packages for Ubuntu for installing Elixir?
I’m working on building and publishing elixir 1.11.4 with erlang 24.0 packages right now. Where I’m stuck is that the Elixir test suite itself fails and this is a required step in our release process. The vast majority look spurious to me, in that the erlang compiler is emitting slightly different output relative to what the elixir tests match against. However some of the tests imply that its important that Elixir can pass runtime errors from erlang/otp.