If you are trying to install Erlang on CentOS/7 you might be presented with the following errors:
These errors mean you don’t have the updated RHEL EPEL Repo from which to fetch Erlang builds. You update your repo as follows:
Retry installing Erlang.
For centos 5 and 6 visit this blog post.
Thanks to jake_morrison from Reddit who posted this response.
The Erlang packages in the distro are not kept up to date, and go stale pretty quickly with the pace of Erlang development.
It’s better to use the packages from ESL: https://www.erlang-solutions.com/downloads/download-erlang-otp
Relevant Ansible tasks:
- name: install esl key rpm_key: state=present key=http://packages.erlang-solutions.com/rpm/ erlang_solutions.asc become: true - name: install esl repo copy: src=etc/yum.repos.d/erlang-solutions.repo dest=/etc/yum.repos.d/ erlang-solutions.repo owner=root group=root mode=0644 become: true - name: install erlang yum: name=erlang state=latest update_cache=yes become: true
See original reply here.