Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install on Almalinux 9.1 : nothing provides /usr/bin/escript #289

Open
chbonnin opened this issue Mar 31, 2023 · 3 comments
Open

Comments

@chbonnin
Copy link

chbonnin commented Mar 31, 2023

Here is the error message after the command:

sudo yum groupinstall uhal controlhub

Error: 
 Problem 1: cannot install the best candidate for the job
  - nothing provides /usr/bin/escript needed by cactuscore-uhal-tests-2.8.9-1.el9.gcc11_3_1.x86_64
 Problem 2: cannot install the best candidate for the job
  - nothing provides /usr/bin/escript needed by cactuscore-controlhub-2.8.9-1.el9.x86_64
 Problem 3: package cactuscore-uhal-python39-2.8.9-1.el9.gcc11_3_1.x86_64 requires libcactus_uhal_tests.so.2.8()(64bit), but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides /usr/bin/escript needed by cactuscore-uhal-tests-2.8.5-1.el9.gcc11_3_1.x86_64
  - nothing provides /usr/bin/escript needed by cactuscore-uhal-tests-2.8.6-1.el9.gcc11_3_1.x86_64
  - nothing provides /usr/bin/escript needed by cactuscore-uhal-tests-2.8.7-1.el9.gcc11_3_1.x86_64
  - nothing provides /usr/bin/escript needed by cactuscore-uhal-tests-2.8.8-1.el9.gcc11_3_1.x86_64
  - nothing provides /usr/bin/escript needed by cactuscore-uhal-tests-2.8.9-1.el9.gcc11_3_1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
@tswilliams
Copy link
Collaborator

Unfortunately EPEL9 doesn't yet contain Erlang packages, which is the source of this problem. The workaround that I've used on Alma9 so far is to install Erlang from the Fedora 34 repos instead, which can be added with the following commands:

sudo curl https://ipbus.web.cern.ch/doc/user/html/_downloads/fedora34-updates.repo -o /etc/yum.repos.d/fedora34-updates.repo
sudo dnf -y install https://eu.edge.kernel.org/fedora/releases/34/Everything/x86_64/os/Packages/f/fedora-gpg-keys-34-1.noarch.rpm

I've added these commands to the installation instructions.

@DavidCussans
Copy link

DavidCussans commented Oct 10, 2023

Is there any update on installing on Alma 9 ?

We are using IPBus to control the prototype hardware for the DUNE timing system and the systems at CERN are being moved to Alma 9. We want to know if it is OK to update to Alma 9 or we will have to work around issues if we do.

@tswilliams
Copy link
Collaborator

Hi,

The only issue that I've had to work around is the lack of Erlang RPMs in Alma 9 (this only affects the ControlHub, not uHAL - in case the ControlHub is running on different machines than the uHAL-based SW in your setup). However, with the above workaround of installing the Erlang RPMs from the Fedora 34 repos instead, the ControlHub works fine in our CI tests.

Cheers,
Tom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants