Katello 4.1.1, Foreman 2.5.2 on CentOS 7.9
puppet-agent 6.24.0 just became available. I was able to update on all my clients which connect to my content proxy.
Only my foreman servers (main server and smart proxies) refuse to update. Unlike the clients, they connect to the main server not to the content proxy.
Resolving Dependencies
--> Running transaction check
---> Package puppet-agent.x86_64 0:6.23.0-1.el7 will be updated
---> Package puppet-agent.x86_64 0:6.24.0-1.el7 will be an update
---> Package puppetserver.noarch 0:6.16.0-1.el7 will be updated
---> Package puppetserver.noarch 0:6.16.1-1.el7 will be an update
--> Processing Dependency: /opt/puppetlabs/puppet/bin/ruby for package: 1:foreman-installer-2.5.2-3.el7.noarch
--> Finished Dependency Resolution
Error: Package: 1:foreman-installer-2.5.2-3.el7.noarch (@DKRZ_foreman_2_5_el7_x86_64)
Requires: /opt/puppetlabs/puppet/bin/ruby
Removing: puppet-agent-6.23.0-1.el7.x86_64 (@DKRZ_puppet_puppet6_el7_x86_64)
Not found
Updated By: puppet-agent-6.24.0-1.el7.x86_64 (DKRZ_puppet_puppet6_el7_x86_64)
Not found
Available: puppet-agent-6.0.0-1.el7.x86_64 (DKRZ_puppet_puppet6_el7_x86_64)
Not found
...
On the foreman servers it doesnāt know about the dependency:
# yum provides /opt/puppetlabs/puppet/bin/ruby
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id, search-disabled-repos, subscription-manager, tracer_upload
Loading mirror speeds from cached hostfile
...
puppet-agent-6.22.1-1.el7.x86_64 : The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, and hiera.
Repo : DKRZ_puppet_puppet6_el7_x86_64
Matched from:
Filename : /opt/puppetlabs/puppet/bin/ruby
puppet-agent-6.23.0-1.el7.x86_64 : The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, and hiera.
Repo : DKRZ_puppet_puppet6_el7_x86_64
Matched from:
Filename : /opt/puppetlabs/puppet/bin/ruby
puppet-agent-6.23.0-1.el7.x86_64 : The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, and hiera.
Repo : @DKRZ_puppet_puppet6_el7_x86_64
Matched from:
Filename : /opt/puppetlabs/puppet/bin/ruby
Curious enough, I really shows 6.2.30-0.1 twice, there.
On my clients, it is correct:
# yum provides /opt/puppetlabs/puppet/bin/ruby
...
puppet-agent-6.22.1-1.el7.x86_64 : The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, and hiera.
Repo : DKRZ_puppet_puppet6_el7_x86_64
Matched from:
Filename : /opt/puppetlabs/puppet/bin/ruby
puppet-agent-6.23.0-1.el7.x86_64 : The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, and hiera.
Repo : DKRZ_puppet_puppet6_el7_x86_64
Matched from:
Filename : /opt/puppetlabs/puppet/bin/ruby
puppet-agent-6.24.0-1.el7.x86_64 : The Puppet Agent package contains all of the elements needed to run puppet, including ruby, facter, and hiera.
Repo : @DKRZ_puppet_puppet6_el7_x86_64
Matched from:
Filename : /opt/puppetlabs/puppet/bin/ruby
Each version only once and it includes 6.24.0-1. Looks correct to me.
So it kind of looks as if the main server presents the new rpm as puppet-agent-6.23.0-1.el7.x86_64 for provides causing it to be listed twice and breaking dependencies?