Katello 3.15 fails for dependency check

Problem:
Katello 3.15 fails for dependency check

Expected outcome:

Foreman and Proxy versions:
https://www.theforeman.org/manuals/2.1/quickstart_guide.html
https://theforeman.org/plugins/katello/3.15/installation/index.html

Foreman and Proxy plugin versions:

Distribution and version:
CentOS Linux release 7.8.2003 (Core)

Other relevant data:

On running yum -y install katello

<!-- Error: Package: tfm-rubygem-anemone-0.7.2-16.el7.noarch (katello) Requires: tfm-ror52-rubygem(nokogiri) >= 1.3.0 Error: Package: tfm-rubygem-activerecord-import-1.0.0-1.el7.noarch (katello) Requires: tfm-ror52-rubygem(activerecord) >= 3.2 Error: Package: tfm-rubygem-runcible-2.11.1-1.el7.noarch (katello) Requires: tfm-ror52-rubygem(activesupport) >= 3.0.10 Error: Package: tfm-rubygem-runcible-2.11.1-1.el7.noarch (katello) Requires: tfm-ror52-rubygem(i18n) >= 0.5.0 Error: Package: tfm-rubygem-katello-3.12.3-1.el7.noarch (katello) Requires: tfm-rubygem(foreman-tasks) < 1 Available: tfm-rubygem-foreman-tasks-1.1.1-1.fm2_1.el7.noarch (foreman-plugins) tfm-rubygem(foreman-tasks) = 1.1.1 Available: tfm-rubygem-foreman-tasks-2.0.0-1.fm2_1.el7.noarch (foreman-plugins) tfm-rubygem(foreman-tasks) = 2.0.0 Available: tfm-rubygem-foreman-tasks-2.0.1-1.fm2_1.el7.noarch (foreman-plugins) tfm-rubygem(foreman-tasks) = 2.0.1 Installing: tfm-rubygem-foreman-tasks-2.0.2-1.fm2_1.el7.noarch (foreman-plugins) tfm-rubygem(foreman-tasks) = 2.0.2 Error: Package: tfm-rubygem-katello-3.12.3-1.el7.noarch (katello) Requires: tfm-ror52-rubygem(rails) Error: Package: tfm-rubygem-katello-3.12.3-1.el7.noarch (katello) Requires: foreman-webpack-vendor-js(896a41b542bae29094f1) Error: Package: tfm-rubygem-katello-3.12.3-1.el7.noarch (katello) Requires: tfm-rubygem(foreman-tasks) < 1 Available: tfm-rubygem-foreman-tasks-1.1.1-1.fm2_1.el7.noarch (foreman-plugins) tfm-rubygem(foreman-tasks) = 1.1.1 Available: tfm-rubygem-foreman-tasks-2.0.0-1.fm2_1.el7.noarch (foreman-plugins) tfm-rubygem(foreman-tasks) = 2.0.0 Available: tfm-rubygem-foreman-tasks-2.0.1-1.fm2_1.el7.noarch (foreman-plugins) tfm-rubygem(foreman-tasks) = 2.0.1 Available: tfm-rubygem-foreman-tasks-2.0.2-1.fm2_1.el7.noarch (foreman-plugins) tfm-rubygem(foreman-tasks) = 2.0.2 Error: Package: katello-selinux-3.4.0-1.el7.noarch (foreman) Requires: candlepin-selinux >= 3.1.10 Installing: candlepin-selinux-2.6.8-1.el7.noarch (katello-candlepin) candlepin-selinux = 2.6.8-1.el7 Error: Package: tfm-rubygem-hammer_cli_katello-0.18.2-1.el7.noarch (katello) Requires: tfm-rubygem(hammer_cli_foreman) < 1.0.0 Installed: tfm-rubygem-hammer_cli_foreman-2.1.2-1.el7.noarch (@foreman) tfm-rubygem(hammer_cli_foreman) = 2.1.2 Available: tfm-rubygem-hammer_cli_foreman-2.1.0-2.el7.noarch (foreman) tfm-rubygem(hammer_cli_foreman) = 2.1.0 Available: tfm-rubygem-hammer_cli_foreman-2.1.1-1.el7.noarch (foreman) tfm-rubygem(hammer_cli_foreman) = 2.1.1. -->

foreman-2.1.1-1.el7.noarch
foreman-release-2.1.1-1.el7.noarch
foreman-release-scl-7-3.el7.noarch
foreman-installer-2.1.1-2.el7.noarch
foreman-proxy-2.1.1-1.el7.noarch
foreman-cli-2.1.1-1.el7.noarch
foreman-debug-2.1.1-1.el7.noarch
foreman-postgresql-2.1.1-1.el7.noarch
foreman-service-2.1.1-1.el7.noarch
foreman-dynflow-sidekiq-2.1.1-1.el7.noarch
rubygem-foreman_maintain-0.6.9-1.el7.noarch
foreman-selinux-2.1.1-1.el7.noarch

I tried to install again and less dependency errors appear. Seems the upstream repos are missing rpms. Can this please be checked?

Error: Package: tfm-rubygem-hammer_cli_katello-0.21.0-2.el7.noarch (katello)
Requires: tfm-rubygem(hammer_cli_foreman) < 2.1
Installed: tfm-rubygem-hammer_cli_foreman-2.1.2-1.el7.noarch (@foreman)
tfm-rubygem(hammer_cli_foreman) = 2.1.2
Available: tfm-rubygem-hammer_cli_foreman-2.1.0-2.el7.noarch (foreman)
tfm-rubygem(hammer_cli_foreman) = 2.1.0
Available: tfm-rubygem-hammer_cli_foreman-2.1.1-1.el7.noarch (foreman)
tfm-rubygem(hammer_cli_foreman) = 2.1.1
Error: Package: tfm-rubygem-katello-3.15.3.1-1.el7.noarch (katello)
Requires: tfm-rubygem(angular-rails-templates) < 1.1
Installing: 1:tfm-rubygem-angular-rails-templates-1.1.0-1.el7.noarch (foreman-plugins)
tfm-rubygem(angular-rails-templates) = 1.1.0
Error: Package: katello-selinux-3.4.0-1.el7.noarch (foreman)
Requires: candlepin-selinux >= 3.1.10
Installing: candlepin-selinux-3.1.7-1.el7.noarch (katello-candlepin)
candlepin-selinux = 3.1.7-1.el7
Error: Package: tfm-rubygem-katello-3.15.3.1-1.el7.noarch (katello)
Requires: foreman < 2.1.0
Installed: foreman-2.1.1-1.el7.noarch (@foreman)
foreman = 2.1.1-1.el7
Available: foreman-2.1.0-0.20.rc1.el7.noarch (foreman)
foreman = 2.1.0-0.20.rc1.el7
Available: foreman-2.1.0-0.20.rc2.el7.noarch (foreman)
foreman = 2.1.0-0.20.rc2.el7
Available: foreman-2.1.0-0.22.rc3.el7.noarch (foreman)
foreman = 2.1.0-0.22.rc3.el7
Available: foreman-2.1.0-1.el7.noarch (foreman)
foreman = 2.1.0-1.el7
Error: Package: tfm-rubygem-katello-3.15.3.1-1.el7.noarch (katello)
Requires: tfm-rubygem(angular-rails-templates) < 1.1
Available: 1:tfm-rubygem-angular-rails-templates-1.1.0-1.el7.noarch (foreman-plugins)
tfm-rubygem(angular-rails-templates) = 1.1.0

You are mixing versions: Katello 3.16 is based on Foreman 2.1. Katello 3.15 is based on Foreman 2.0. If you want to install Katello the only installation instructions you’ll need are the Katello ones

https://theforeman.org/plugins/katello/3.15/installation/index.html

Those already pick the correct foreman version in the instructions, e.g. for Katello 3.15 you’ll see this:

yum -y localinstall https://yum.theforeman.org/releases/2.0/el7/x86_64/foreman-release.rpm
1 Like