I have a clean installation of AlmaLinx 8.5 running in a VM for some testing, or probably more correctly me just playing around. I am trying to get the latest version of Erlang installed. I have taken the following step which pretty much match the direction on Erlang-Solutions website.
sudo dnf config-manager --set-enabled powertools sudo dnf install epel-release sudo tee /etc/yum.repos.d/erlang-solutions.repo << "EOF" [erlang-solutions] name=CentOS $releasever - $basearch - Erlang Solutions baseurl=https://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch gpgcheck=1 gpgkey=https://packages.erlang-solutions.com/rpm/erlang_solutions.asc enabled=1 EOF sudo dnf -y install erlang
This seems to work, however, after when I do an update, I get the following error:
sudo dnf update Error: Problem: cannot install both erlang-dialyzer-22.0.7-1.el8.x86_64 and erlang-dialyzer-24.1.7-1.el8.x86_64 - cannot install the best update candidate for package erlang-typer-24.1.7-1.el8.x86_64 - cannot install the best update candidate for package erlang-dialyzer-24.1.7-1.el8.x86_64 (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
The suggestion of using the ‘–allowerasing’ help, but I would prefer not to have to uses this every time I do anything with DNF. Also, my Googling is not getting me anywhere. Any help would be appreciated.