Almalinux 9 Foreman Katello installation

Problem:
During the installation of Foreman Katello on AlmaLinux 9, I encountered errors arising from conflicting package requirements or missing dependencies. Notable errors include:

-The installation fails due to an unmet dependency: ‘foreman < 3.12’ is required by ‘rubygem-katello’."
-Installation halts as the ‘katello’ package necessitates ‘rubygem-katello’, but none of the available providers can be installed.
Expected outcome:
foreman-installer --scenario katello --verbose
install katello’ returned 1: Error:
2024-05-30 17:23:25 [ERROR ] [configure] Problem: package katello-4.12.0-1.el9.noarch from katello requires rubygem-katello, but n one of the providers can be installed
2024-05-30 17:23:25 [ERROR ] [configure] - cannot install the best candidate for the job
2024-05-30 17:23:25 [ERROR ] [configure] - nothing provides foreman < 3.11 needed by rubygem-katello-4.12.0-0.3.rc1.el9.noarch fro m katello
2024-05-30 17:23:25 [ERROR ] [configure] - nothing provides foreman < 3.11 needed by rubygem-katello-4.12.0-0.3.rc3.el9.noarch fro m katello
2024-05-30 17:23:25 [ERROR ] [configure] - nothing provides foreman < 3.11 needed by rubygem-katello-4.12.0-1.el9.noarch from kate llo

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

Foreman 3.11 goes with Katello 4.13, which is still in the process of being released. You can try with Katello 4.13 RC1 when that’s available.

1 Like

Thanks a lot, “Jeremylenz.” I used the supported version as described in the Foreman documentation, and everything was OK. With AlmaLinux 9.4, we have to use Foreman 3.10 and Katello 4.12. It works great.

1 Like