Bug 1993504

Summary: ruby package versioning is broken which breaks upgrades
Product: Red Hat Enterprise Linux 7 Reporter: Chris Cheney <ccheney>
Component: rubyAssignee: Vít Ondruch <vondruch>
Status: CLOSED ERRATA QA Contact: Lukáš Zachar <lzachar>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.9CC: jreznik, nbansal, pvalena, vondruch
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ruby-2.0.0.648-39.el7_9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-05 17:17:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1986206    
Bug Blocks:    

Description Chris Cheney 2021-08-13 15:53:50 UTC
Description of problem:

ruby package versioning is broken which breaks upgrades.

--

Packages for Zstream/EUS/etc updates should not have their version numbers bumped but instead have a minor version appended.

   For each RHEL point release the packages that shipped and after latest updates are:

   7.0 - ruby-2.0.0.353-20.el7.src.rpm    -> ruby-2.0.0.353-22.el7_0.src.rpm
   7.1 - ruby-2.0.0.598-24.el7.src.rpm    -> ruby-2.0.0.598-25.el7_1.src.rpm
   7.2 - ruby-2.0.0.598-25.el7_1.src.rpm
   7.3 - ruby-2.0.0.648-29.el7.src.rpm    -> ruby-2.0.0.648-30.el7_3.src.rpm
   7.4 - ruby-2.0.0.648-30.el7.src.rpm    -> ruby-2.0.0.648-37.el7_4.src.rpm
   7.5 - ruby-2.0.0.648-33.el7_4.src.rpm  -> ruby-2.0.0.648-36.el7_5.src.rpm
   7.6 - ruby-2.0.0.648-33.el7_4.src.rpm  -> ruby-2.0.0.648-38.el7_6.src.rpm
   7.7 - ruby-2.0.0.648-33.el7_4.src.rpm
   7.8 - ruby-2.0.0.648-36.el7.src.rpm
   7.9 - ruby-2.0.0.648-36.el7.src.rpm

   These packages instead should have been like what we see for systemd, something similar to the following:

   7.0 - ruby-2.0.0.353-20.el7.src.rpm    -> ruby-2.0.0.353-20.el7_0.1.src.rpm
   7.1 - ruby-2.0.0.598-24.el7.src.rpm    -> ruby-2.0.0.598-24.el7_1.1.src.rpm
   7.2 - ruby-2.0.0.598-25.el7.src.rpm
   7.3 - ruby-2.0.0.648-29.el7.src.rpm    -> ruby-2.0.0.648-29.el7_3.1.src.rpm
   7.4 - ruby-2.0.0.648-30.el7.src.rpm    -> ruby-2.0.0.648-30.el7_4.1.src.rpm
   7.5 - ruby-2.0.0.648-31.el7.src.rpm    -> ruby-2.0.0.648-31.el7_5.1.src.rpm
   7.6 - ruby-2.0.0.648-31.el7.src.rpm    -> ruby-2.0.0.648-31.el7_6.1.src.rpm
   7.7 - ruby-2.0.0.648-31.el7.src.rpm
   7.8 - ruby-2.0.0.648-32.el7.src.rpm
   7.9 - ruby-2.0.0.648-32.el7.src.rpm

Comment 14 Vít Ondruch 2021-09-10 10:35:14 UTC
Let's bump the 7.9 NVR to fix the upgrade path.

Comment 36 errata-xmlrpc 2022-04-05 17:17:40 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 (ruby bug fix and enhancement update), 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-2022:1200