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 2057416 - rubygem-rack is obsoleted without epoch
Summary: rubygem-rack is obsoleted without epoch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Packaging
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.11.0
Assignee: satellite6-bugs
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-23 11:11 UTC by Lukas Pramuk
Modified: 2022-07-05 14:33 UTC (History)
1 user (show)

Fixed In Version: satellite-6.11.0-0.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:33:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:33:49 UTC

Description Lukas Pramuk 2022-02-23 11:11:00 UTC
Description of problem:
rubygem-rack rpm having an epoch is obsoleted without epoch. Therefore satellite-common rpm is actually failing to obsolete rubygem-rack rpm

Version-Release number of selected component (if applicable):
7.0.0
satellite-common-7.0.0-0.5.beta.el7sat.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. Install Sat 7.0.0
2. Install rubygem-rack-1.6.4-3.el7sat.noarch.rpm (get it from brew or older Satellite repos)

# yum install rubygem-rack-1.6.4-3.el7sat.noarch.rpm

Actual results:
Obsoleted rpm installed successfully

Expected results:
Cannot install package rubygem-rack-1.6.4-3.el7sat.noarch. It is obsoleted by installed package satellite-common-7.0.0-0.5.beta.el7sat.noarch

Additional info:
# rpm -q --provides rubygem-rack
bundled(okjson) = 20150104
rubygem(rack) = 1.6.4
rubygem-rack = 1:1.6.4-3.el7sat    <<< epoch

vs.

# rpm -q --obsoletes satellite-common | grep '^rubygem-rack '
rubygem-rack < 1.6.4-4      <<< no epoch

Comment 2 Lukas Pramuk 2022-04-19 08:53:08 UTC
VERIFIED.

@Satellite 6.11.0 Snap16
satellite-common-6.11.0-0.10.beta.el7sat.noarch

by the manual reproducer described in comment#0:

1) Install Sat 6.11.0

2) Try to install rubygem-rack-1.6.12-1.el7sat.noarch.rpm (note I use newer version - the version being shipped by 6.8 and 6.9)

# yum install rubygem-rack-1.6.12-1.el7sat.noarch.rpm
Loaded plugins: foreman-protector, product-id, search-disabled-repos, subscription-manager
Examining rubygem-rack-1.6.12-1.el7sat.noarch.rpm: 1:rubygem-rack-1.6.12-1.el7sat.noarch
Cannot install package 1:rubygem-rack-1.6.12-1.el7sat.noarch. It is obsoleted by installed package satellite-common-6.11.0-0.10.beta.el7sat.noarch
Error: Nothing to do

>>> Cannot install latest rubygem-rack package as it is now properly obsoleted by installed package satellite-common

Comment 5 errata-xmlrpc 2022-07-05 14:33:39 UTC
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


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