Description of problem: Error: Problem 1: package rubygem-foreman-tasks-5.2.1-1.el8sat.noarch requires rubygem(sinatra), but none of the providers can be installed - package satellite-common-7.0.0-0.4.beta.el8sat.noarch obsoletes rubygem-sinatra provided by rubygem-sinatra-2.1.0-2.el8sat.noarch - cannot install the best update candidate for package rubygem-sinatra-2.1.0-2.el8sat.noarch - cannot install the best update candidate for package rubygem-foreman-tasks-5.2.0-1.el8sat.noarch Problem 2: package foreman-proxy-3.1.1-1.el8sat.noarch requires rubygem(sinatra), but none of the providers can be installed - package satellite-common-7.0.0-0.4.beta.el8sat.noarch obsoletes rubygem-sinatra provided by rubygem-sinatra-2.1.0-2.el8sat.noarch - cannot install the best update candidate for package satellite-common-7.0.0-0.3.beta.el8sat.noarch - cannot install the best update candidate for package foreman-proxy-3.1.1-1.el8sat.noarch (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) Version-Release number of selected component (if applicable): Satellite 7.0 Snap 8 on EL8 How reproducible: 100% Steps to Reproduce: 1. dnf install satellite Actual results: see above Expected results: it works ;) Additional info: rubygem-sinatra on EL7, that we used to ship ended with 1:1.4.7-3, so we need to obsolete < 1:1.4.7-4, BUT due to this pkg having an epoch, and the version on EL8 NOT having an epoch, we can't use the same obsolete on EL8 too!
Based on Evgeni's comment I think we still should have rubygem-sinatra = 1:2.1.0-2.el8sat (keeping the epoch 1:) as it's not a really good practice to lose epoch from newer rpm builds
Filed BZ #2052524 - rubygem-sinatra el8 rpm should keep the epoch number
VERIFIED. @Satellite 7.0.0 Snap9 satellite-common-7.0.0-0.5.beta.el8sat.noarch by reproducer described in comment#0: 1) Enable CDN repos and set up SAT 7.0 compose repos 2) Enabled modules streams integration # yum -y module enable ruby:2.7 pki-core python38 redis # yum-config-manager --setopt=*.module_hotfixes=1 --save satellite* 3) Install satellite rpm or RHEL8 # yum -y install satellite Updating Subscription Management repositories. Last metadata expiration check: 0:01:27 ago on Thu 17 Feb 2022 08:12:07 AM EST. Dependencies resolved. ======================================================================================================================== Package Arch Version Repository Size ======================================================================================================================== Installing: satellite noarch 7.0.0-0.5.beta.el8sat satellite 17 k Installing dependencies: ... Complete! >>> satellite rpm installed successfully on RHEL8 # rpm -q --obsoletes satellite-common <empty> >>> there are no obsoletes required for rhel8
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 (Moderate: Satellite 6.11 Release), 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/RHSA-2022:5498