Katello-4.0.1-1.el8.noarch requires rubygem-katello, but none of the providers can be installed

Problem:
Where do I find the required dependancies for katello 4.0

[root@cm foreman-installer]# yum install katello
This system is receiving updates from Red Hat Satellite or Spacewalk server.
Last metadata expiration check: 1:17:30 ago on Sun 23 May 2021 12:35:08 PM EDT.
Error: 
 Problem: package katello-4.0.1-1.el8.noarch requires rubygem-katello, but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides rubygem(angular-rails-templates) >= 1.1.0 needed by rubygem-katello-4.0.0-0.4.rc3.1.el8.noarch
  - nothing provides rubygem(angular-rails-templates) < 1.2 needed by rubygem-katello-4.0.0-0.4.rc3.1.el8.noarch
  - nothing provides rubygem(deface) >= 1.0.2 needed by rubygem-katello-4.0.0-0.4.rc3.1.el8.noarch
  - nothing provides rubygem(deface) < 2.0.0 needed by rubygem-katello-4.0.0-0.4.rc3.1.el8.noarch
  - nothing provides rubygem(foreman_remote_execution) >= 3.0 needed by rubygem-katello-4.0.0-0.4.rc3.1.el8.noarch
  - nothing provides rubygem(foreman-tasks) >= 0.14.1 needed by rubygem-katello-4.0.0-0.4.rc3.1.el8.noarch
  - nothing provides rubygem(angular-rails-templates) >= 1.1.0 needed by rubygem-katello-4.0.0-1.el8.noarch
  - nothing provides rubygem(angular-rails-templates) < 1.2 needed by rubygem-katello-4.0.0-1.el8.noarch
  - nothing provides rubygem(deface) >= 1.0.2 needed by rubygem-katello-4.0.0-1.el8.noarch
  - nothing provides rubygem(deface) < 2.0.0 needed by rubygem-katello-4.0.0-1.el8.noarch
  - nothing provides rubygem(foreman_remote_execution) >= 3.0 needed by rubygem-katello-4.0.0-1.el8.noarch
  - nothing provides rubygem(foreman-tasks) >= 4.0 needed by rubygem-katello-4.0.0-1.el8.noarch
  - nothing provides rubygem(angular-rails-templates) >= 1.1.0 needed by rubygem-katello-4.0.1.1-1.el8.noarch
  - nothing provides rubygem(angular-rails-templates) < 1.2 needed by rubygem-katello-4.0.1.1-1.el8.noarch
  - nothing provides rubygem(deface) >= 1.0.2 needed by rubygem-katello-4.0.1.1-1.el8.noarch
  - nothing provides rubygem(deface) < 2.0.0 needed by rubygem-katello-4.0.1.1-1.el8.noarch
  - nothing provides rubygem(foreman_remote_execution) >= 3.0 needed by rubygem-katello-4.0.1.1-1.el8.noarch
  - nothing provides rubygem(foreman-tasks) >= 4.0 needed by rubygem-katello-4.0.1.1-1.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Expected outcome:
I want to install foreman/katello/etc similar to RHEL satellite with file and repo/package management. I can use centos7 or centos8.

Foreman and Proxy versions:
foreman-installer-2.4.0-1.el8.noarch
foreman-proxy-2.4.0-1.el8.noarch

Foreman and Proxy plugin versions:
katello-4.0.1-1.el8.noarch

Distribution and version:
CentOS Linux release 8.3.2011

Other relevant data:

I am trying to follow the quick install guide at:
https://docs.theforeman.org/2.4/Quickstart_Guide/index-foreman-el.html

What repo do i use to fix these dependancies?

[root@cm foreman-installer]# dnf repolist
This system is receiving updates from Red Hat Satellite or Spacewalk server.
repo id                                                                      repo name
appstream                                                                    CentOS Linux 8 - AppStream
centos8-base-x86_64                                                          CentOS 8 Base x86_64
centos8-netops-bigfix                                                        External - netops bigfix8
centos8_powertools_x86_64                                                    External - CentOS 8 PowerTools x86_64
external-atomicorp_ossec_centos8_x86_64                                      External_Atomicorp_Ossec_centos8_x86_64
foreman                                                                      Foreman 2.4
gibs_local_software_centos8-x86_64                                           Gibs Local Software CentOS 8 (x86_64)
katello                                                                      Katello 4.0
katello-candlepin                                                            Candlepin: an open source entitlement management system.
pulpcore                                                                     pulpcore: Fetch, Upload, Organize, and Distribute Software Packages.
puppet6                                                                      Puppet 6 Repository el 8 - x86_64`

That’s not right. Those instructions are to install foreman, not katello. However, you have the katello repository, thus you must have followed some other instructions as well.

And why is your foreman-plugins repository not available?

The docs in “1.2 CentOS 8” say to install the foreman-release.rpm

dnf localinstall https://yum.theforeman.org/releases/2.4/el8/x86_64/foreman-release.rpm

After I install that I get three new files:

/etc/pki/rpm-gpg/RPM-GPG-KEY-foreman
/etc/yum.repos.d/foreman-plugins.repo
/etc/yum.repos.d/foreman.repo

Two repositories are enabled: foreman and foreman-plugins. foreman-plugins contain all those missing dependencies. As the file in the foreman-release has foreman-plugins enabled you must have either disabled the repository or removed the file.

Check with

# rpm -Vv foreman-release
.........    /etc/pki/rpm-gpg/RPM-GPG-KEY-foreman
.........  c /etc/yum.repos.d/foreman-plugins.repo
.........  c /etc/yum.repos.d/foreman.repo

If those files are still intact and unmodified.

To install foreman with katello, follow the katello instructions
https://docs.theforeman.org/2.4/Installing_Server_on_Red_Hat/index-katello.html#installing-satellite-server-connected

1 Like

That was it, thank you. my foreman-plugins repo was disabled and I did not realize it.