Description of problem: With the latest version of katello-agent (katello-agent-2.5.0-5) the required version of gofer is only >= 2.5 This could lead in some situation where the katello-agent is up to date, but not the gofer packages. Version-Release number of selected component (if applicable): Satellite 6.2 How reproducible: 100% Steps to Reproduce: 1. Have a system with the following the following packages By example: - python-gofer-2.6.8-1 - gofer-2.6.8-1 - python-gofer-proton-2.6.8-1 - katello-agent-2.2.6-1 2. Update katello-agent # yum update katello-agent 3. katello-agent will get update to latest => katello-agent-2.5.0-5 But gofer package and its dependencies will not be updated. Actual results: Some situation can occurred where katello-agent is at latest version, but the gofer packages are older. This can most likely happen on systems registered on a Satellite that's been migrated to 6.1.X to 6.2.X. After publishing the new Satellite Tools for 6.2, If customer only run "yum update katello" on the client, gofer will not be updated if it's higher than version 2.5. Expected results: Might adjust dependencies in the next version of katello-agent to ensure gofer is updated as well. Additional info: By example, the situation could impact the Errata management from Satellite as the Errata for bug 1323726 is not installed.
I think its important to note this is not limited to gofer as a dependency, obviously. This applies to all dependencies that katello-agent has from the Satellite-Tools repository. (None of them are true deps based on version, one for existing.) We probably need to start building these SPECS with versions in mind for each errata.
(In reply to Craig Donnelly from comment #4) > I think its important to note this is not limited to gofer as a dependency, > obviously. > > This applies to all dependencies that katello-agent has from the > Satellite-Tools repository. (None of them are true deps based on version, > one for existing.) > > We probably need to start building these SPECS with versions in mind for > each errata. Thanks this is an very important point that you are bringing. As a workaround I often do the following: # yum --disablerepo="*" --enablerepo="rhel-*-server-satellite-tools-6.2-rpms" update
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18012 has been resolved.
Moving this off of post since the currently attached fix does not address the entire dependency stack. We need to ensure that when we build a new version of katello-agent for clients that the SPEC included the also latest versions of the defines dependencies: Requires: gofer >= 2.7.6 Requires: python-gofer-proton >= 2.5 Requires: python-pulp-agent-lib >= 2.6 Requires: pulp-rpm-handlers >= 2.6 These should be updated to what is shipping in satellite-tools with the latest available version to enforce that customers get full updates. Is there any reason this isn't an acceptable answer?
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0338