With the update to erlang 23.0 in alpine 3.12 my docker builds were failing due to missing
packages when running apk add
:
ERROR: unsatisfiable constraints: erlang-eldap (missing): required by: world[erlang-eldap] erlang-erts (missing): required by: world[erlang-erts] erlang-mnesia (missing): required by: world[erlang-mnesia] erlang-os-mon (missing): required by: world[erlang-os-mon] erlang-runtime-tools (missing): required by: world[erlang-runtime-tools] erlang-sasl (missing): required by: world[erlang-sasl] erlang-ssl (missing): required by: world[erlang-ssl] erlang-tools (missing): required by: world[erlang-tools] erlang-xmerl (missing): required by: world[erlang-xmerl]
Unfortunately neither the release announcement nor the release notes contain any information about the Erlang update (at the time of writing this).
According to the changelog of the build script, the following packages are now "missing" but should be part of the regular erlang package.
- erlang-hipe
- erlang-inets
- erlang-jinterface
- erlang-kernel
- erlang-mnesia
- erlang-os-mon
- erlang-parsetools
- erlang-public-key
- erlang-runtime-tools
- erlang-sasl
- erlang-snmp
- erlang-ssh
- erlang-ssl
- erlang-stdlib
- erlang-syntax-tools
- erlang-tftp
- erlang-tools
- erlang-xmerl
After removing every other erlang-* package and installing erlang with apk add --no-cache erlang
, my installation was back in working order.