Since the release of OTP 24 (Yay!) my Ubuntu 20.04 systems have been updating to use the latest esl-erlang package from the Erlang Solutions repository:
esl-erlang=1:24.0-1
However the latest Elixir package available is version 1.11.2 from 2020-11-03:
elixir=1.11.2-1
When looking at the Elixir/Erlang compatibility information it seems that Elixir version 1.11.4 is the minimum requirement for OTP 24.
I’m not really sure if this is the right place to ask the question, but is the Erlang Solutions repository still being updated? If so, is Elixir 1.11.2 the newest package available because something is preventing the newer versions from running properly on Ubuntu 20.04?
If the newest version of Elixir that can run on Ubuntu 20.04 is 1.11.2 would it make sense for that package to indicate OTP 23 is required in its dependencies so OTP 24 is not installed?
Also, thank-you to Erlang Solutions for hosting the Debian Packages! It’s a great contribution to the community
I’ve recently joined Erlang Solutions and my first task is to work on the packaging system, particularly getting erlang 24.0 builds out. Those are now done but the Elixir ones are not. This should be rectified today. Going forward expect to see more timely updates.
Thanks for getting the 1.12.0 packages out. But I started running into this dependency issue while trying to install on Ubuntu 20.04:
2021-05-20T15:16:18.8927051Z 2021-05-20 15:16:18 (25.2 MB/s) - ‘elixir_1.12.0-1~ubuntu~focal_all.deb’ saved [4122932/4122932]
2021-05-20T15:16:18.8927594Z
2021-05-20T15:16:18.9918555Z Selecting previously unselected package elixir.
2021-05-20T15:16:25.7437668Z (Reading database ... 254809 files and directories currently installed.)
2021-05-20T15:16:25.7562204Z Preparing to unpack elixir_1.12.0-1~ubuntu~focal_all.deb ...
2021-05-20T15:16:25.7625925Z Unpacking elixir (1.12.0-1) ...
2021-05-20T15:16:26.1302441Z dpkg: dependency problems prevent configuration of elixir:
2021-05-20T15:16:26.1304129Z elixir depends on erlang-base (>= 1:24.0) | erlang-base-hipe (>= 1:24.0) | esl-erlang (>= 1:24.0); however:
2021-05-20T15:16:26.1305492Z Package erlang-base is not installed.
2021-05-20T15:16:26.1306376Z Package erlang-base-hipe is not installed.
2021-05-20T15:16:26.1307492Z Version of erlang-base-hipe on system, provided by esl-erlang:amd64, is <none>.
2021-05-20T15:16:26.1308489Z Version of esl-erlang on system is 1:23.3.1-1.
2021-05-20T15:16:26.1309537Z elixir depends on erlang-crypto (>= 1:24.0) | esl-erlang (>= 1:24.0); however:
2021-05-20T15:16:26.1310590Z Package erlang-crypto is not installed.
2021-05-20T15:16:26.1311601Z Version of erlang-crypto on system, provided by esl-erlang:amd64, is <none>.
2021-05-20T15:16:26.1312602Z Version of esl-erlang on system is 1:23.3.1-1.
2021-05-20T15:16:26.1313540Z elixir depends on erlang-inets (>= 1:24.0) | esl-erlang (>= 1:24.0); however:
2021-05-20T15:16:26.1314548Z Package erlang-inets is not installed.
2021-05-20T15:16:26.1315596Z Version of erlang-inets on system, provided by esl-erlang:amd64, is <none>.
2021-05-20T15:16:26.1316535Z Version of esl-erlang on system is 1:23.3.1-1.
2021-05-20T15:16:26.1317518Z elixir depends on erlang-ssl (>= 1:24.0) | esl-erlang (>= 1:24.0); however:
2021-05-20T15:16:26.1318673Z Package erlang-ssl is not installed.
2021-05-20T15:16:26.1319644Z Version of erlang-ssl on system, provided by esl-erlang:amd64, is <none>.
2021-05-20T15:16:26.1320616Z Version of esl-erlang on system is 1:23.3.1-1.
2021-05-20T15:16:26.1321629Z elixir depends on erlang-syntax-tools (>= 1:24.0) | esl-erlang (>= 1:24.0); however:
2021-05-20T15:16:26.1322710Z Package erlang-syntax-tools is not installed.
2021-05-20T15:16:26.1323908Z Version of erlang-syntax-tools on system, provided by esl-erlang:amd64, is <none>.
2021-05-20T15:16:26.1325117Z Version of esl-erlang on system is 1:23.3.1-1.
2021-05-20T15:16:26.1325599Z
2021-05-20T15:16:26.1326388Z dpkg: error processing package elixir (--install):
2021-05-20T15:16:26.1327276Z dependency problems - leaving unconfigured
2021-05-20T15:16:26.1333456Z Processing triggers for man-db (2.9.1-1) ...
2021-05-20T15:16:27.1029751Z Errors were encountered while processing:
2021-05-20T15:16:27.1030734Z elixir
2021-05-20T15:16:27.1069615Z ##[error]Process completed with exit code 1.
PS: the error above only happens some of the times, so it might be a package on a specific server that’s causing the issue. Here is the prelude to the error above, in case that helps: