Verified in Satellite 6.4.2 Snap 1 Steps: 1. Install a version of Satellite older than 6.4.2 (not strictly required) 2. rpm -Uvh --force --nodeps https://rpmfind.net/linux/centos/6.10/os/x86_64/Packages/ant-junit-1.7.1-15.el6.x86_64.rpm 3. Due to broken deps in ant-junit rpm, add a new line at 103 in the below file to force an exclusion during foreman-maintains upgrade [root@sat-6-4-qa-rhel7 ~]# grep --color=auto -inrC 3 exclude /usr/share/gems/gems/foreman_maintain-0.2.11/lib/foreman_maintain/concerns/system_helpers.rb 103- options.validate_options!(:assumeyes) 104- yum_options = [] 105- yum_options << '-y' if options[:assumeyes] 106: yum_options << '--exclude=ant-junit' 107- execute!("yum #{yum_options.join(' ')} #{action} #{packages.join(' ')}", 108- :interactive => true) 109- end 4.a Add 6.4.2 repos and perform an upgrade with foreman-maintain foreman-maintain upgrade run --target-version 6.4.z --whitelist "disk-performance,repositories-setup,repositories-validate" --assumeyes 4.b Alternatively, you can yum reinstall satellite-common 4.c Alternative to the alternative, you can rpm -q --obsoletes satellite-common Results: 4.a/b upgrade/reinstall give this output. however, due to dep issues, it will fail to actually remove the package. Removing ant-junit.x86_64 0:1.7.1-15.el6 - od due to obsoletes from installed satellite-common-6.4.2-2.el7sat.noarch 4.c obsoletes output includes ant-junit <= 1.9.2-9.el7 While the package wasn't removed (due to reproducer steps), the satellite-common spec is valid in that it tells yum to remove the package.
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-2019:0345