Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2104531 - 6.10 to 6.11 upgrade failure
Summary: 6.10 to 6.11 upgrade failure
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.12.0
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-06 14:32 UTC by Brant Evans
Modified: 2022-10-04 16:23 UTC (History)
13 users (show)

Fixed In Version: satellite-6.12.0-2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2107699 (view as bug list)
Environment:
Last Closed: 2022-10-04 16:23:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 6966222 0 None None None 2022-07-06 15:26:49 UTC

Description Brant Evans 2022-07-06 14:32:39 UTC
Description of problem:
When upgrading Satellite server from 6.10 to 6.11 the following error is returned during the update packages phase.

---> Package rubygem-ffi.x86_64 0:1.4.0-3.el7sat will be obsoleted
--> Processing Dependency: rubygem(ffi) >= 1.0.9 for package: rubygem-openscap-0.4.7-4.el7sat.noarch
--> Processing Dependency: rubygem(ffi) >= 0.5.0 for package: rubygem-rb-inotify-0.9.7-5.el7sat.noarch
--> Finished Dependency Resolution
Error: Package: rubygem-openscap-0.4.7-4.el7sat.noarch (@rhel-7-server-satellite-6.6-rpms)
           Requires: rubygem(ffi) >= 1.0.9
           Removing: rubygem-ffi-1.4.0-3.el7sat.x86_64 (@rhel-7-server-satellite-6.4-rpms)
               rubygem(ffi) = 1.4.0
           Obsoleted By: satellite-common-6.11.0-2.el7sat.noarch (rhel-7-server-satellite-6.11-rpms)
               Not found
Error: Package: rubygem-rb-inotify-0.9.7-5.el7sat.noarch (@rhel-7-server-satellite-6.6-rpms)
           Requires: rubygem(ffi) >= 0.5.0
           Removing: rubygem-ffi-1.4.0-3.el7sat.x86_64 (@rhel-7-server-satellite-6.4-rpms)
               rubygem(ffi) = 1.4.0
           Obsoleted By: satellite-common-6.11.0-2.el7sat.noarch (rhel-7-server-satellite-6.11-rpms)
               Not found



Version-Release number of selected component (if applicable):
6.10

How reproducible:


Steps to Reproduce:
1. Install Satellite 6.4
2. Upgrade 6.4 -> 6.5 -> 6.6 -> 6.7 -> 6.8 -> 6.9 -> 6.10
3. Upgrade to 6.11

Actual results:
Upgrade failed

Expected results:
Upgrade succeeds

Additional info:
The upgrade was successful after the rubygem-openscap-0.4.7-4.el7sat.noarch and rubygem-rb-inotify-0.9.7-5.el7sat.noarch packages were removed and the upgrade restarted.

Comment 5 Lukas Pramuk 2022-10-04 16:23:38 UTC
This BZ is about fixing el7 obsoletes (for 6.11 el7)
There is nothing to verify on 6.12 el8 - no such obsoletes.

The fix is only in source - spec file changes are surrounded by %if 0%{?rhel} == 7, no fix present on el8

# rpm -q --obsoletes -p satellite-common-6.12.0-3.el8sat.noarch
<empty>


Note You need to log in before you can comment on or make changes to this bug.