Katello installation fails due to dependencies issues

I am following instructions on Foreman :: Plugin Manuals
to Install it on the Centos7 with all latest updates

The following repositories have been enabled:

foreman-release-scl-7-2.el7.noarch            Sun 11 Aug 2019 12:09:30 PM UTC
centos-release-scl-rh-2-3.el7.centos.noarch   Sun 11 Aug 2019 12:09:30 PM UTC
foreman-release-1.22.0-1.el7.noarch           Sun 11 Aug 2019 12:09:24 PM UTC
katello-repos-3.12.1-1.el7.noarch             Sun 11 Aug 2019 12:09:22 PM UTC
epel-release-7-11.noarch                      Sun 11 Aug 2019 11:48:51 AM UTC
puppet6-release-6.0.0-5.el7.noarch            Sun 11 Aug 2019 11:48:36 AM UTC

attempts to install katello fail:

Error: Package: tfm-rubygem-katello-3.8.1-1.el7.noarch (katello)
           Requires: tfm-rubygem(bastion) < 7.0.0
Error: Package: tfm-rubygem-katello-3.8.1-1.el7.noarch (katello)
           Requires: tfm-rubygem(bastion) >= 6.1.9
Error: Package: tfm-rubygem-katello-3.8.1-1.el7.noarch (katello)
           Requires: tfm-ror51-rubygem(rails)
Error: Package: tfm-rubygem-anemone-0.7.2-15.el7.noarch (katello)
           Requires: tfm-ror51-rubygem(nokogiri) >= 1.3.0
Error: Package: tfm-rubygem-runcible-2.8.1-1.el7.noarch (katello)
           Requires: tfm-ror51-rubygem(i18n) >= 0.5.0
Error: Package: tfm-rubygem-runcible-2.8.1-1.el7.noarch (katello)
           Requires: tfm-ror51-rubygem(activesupport) >= 3.0.10

What did I miss?
Thanks,
Vadym

Hey Vadym,
Hmm wonder why it is looking for a really old tfm-rubygem-katello-3.8.1-1.el7.noarch, when the current version is 3.12. Do you have a 3.8 repos enabled somehow ?

yum -y localinstall https://fedorapeople.org/groups/katello/releases/yum/3.12/katello/el7/x86_64/katello-repos-latest.rpm
should ve installed 3.12 . If you have the 3.8 repos enabled try disabling them,.

Hi,

If you take a look at the start of the post you will see I have katello-repos-3.12.1-1.el7.noarch is installed.
I will try to check, which rpm requires that old package

I am obviously doing something wrong, tried to install newest version and it’s failing as well.
I start with a clean Vagrant centos/7 box, and follow the manual:

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

yum -y localinstall https://fedorapeople.org/groups/katello/releases/yum/3.13/katello/el7/x86_64/katello-repos-latest.rpm
yum -y localinstall https://yum.theforeman.org/releases/1.23/el7/x86_64/foreman-release.rpm
yum -y localinstall https://yum.puppet.com/puppet6-release-el-7.noarch.rpm
yum -y localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install foreman-release-scl

Resulting repositories:

[root@foreman ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repo1.ash.innoscale.net
 * centos-sclo-rh: repo1.ash.innoscale.net
 * epel: iad.mirror.rackspace.com
 * extras: repo1.ash.innoscale.net
 * updates: repo1.ash.innoscale.net
repo id                            repo name                                                           status
base/7/x86_64                      CentOS-7 - Base                                                     10,097
centos-sclo-rh/x86_64              CentOS-7 - SCLo rh                                                   8,587
epel/x86_64                        Extra Packages for Enterprise Linux 7 - x86_64                      13,434
extras/7/x86_64                    CentOS-7 - Extras                                                      305
foreman/x86_64                     Foreman 1.23                                                           580
foreman-plugins/x86_64             Foreman plugins 1.23                                                   356
foreman-rails/x86_64               Rails SCL for Foreman 1.23                                              59
katello/x86_64                     Katello 3.13                                                            50
katello-candlepin/x86_64           Candlepin: an open source entitlement management system.                 3
pulp/7/x86_64                      Pulp Community Release                                                  67
puppet6/x86_64                     Puppet 6 Repository el 7 - x86_64                                      147
updates/7/x86_64                   CentOS-7 - Updates                                                     680
repolist: 34,365

yum install katello fails:

Error: Package: qpid-dispatch-router-1.9.0-1.el7.x86_64 (epel)
           Requires: qpid-proton-c(x86-64) >= 0.29.0
           Available: qpid-proton-c-0.14.0-2.el7.x86_64 (extras)
               qpid-proton-c(x86-64) = 0.14.0-2.el7
           Installing: qpid-proton-c-0.28.0-1.el7.x86_64 (epel)
               qpid-proton-c(x86-64) = 0.28.0-1.el7
Error: Package: qpid-dispatch-router-1.9.0-1.el7.x86_64 (epel)
           Requires: python2-qpid-proton >= 0.29.0
           Available: python2-qpid-proton-0.28.0-1.el7.x86_64 (epel)
               python2-qpid-proton = 0.28.0-1.el7
Error: Package: qpid-dispatch-router-1.9.0-1.el7.x86_64 (epel)
           Requires: qpid-proton-c(x86-64) >= 0.29.0
           Available: qpid-proton-c-0.14.0-2.el7.x86_64 (extras)
               qpid-proton-c(x86-64) = 0.14.0-2.el7
           Available: qpid-proton-c-0.28.0-1.el7.x86_64 (epel)
               qpid-proton-c(x86-64) = 0.28.0-1.el7

It seems a bug in epel repository. part of the packages haven’t been promoted from epel-testing yet

We’re hitting the same thing in our CI: katello-nightly-rpm-pipeline 247 failed

I discovered this while updating my hosts earlier this week (standard versioning, not the nightly builds.) It seemed to clear up with the updated packages available by Wednesday.