Bug 1895852

Summary: RHEL-8 perl-Time-HiRes NEVR is lower than RHEL-7 one
Product: Red Hat Enterprise Linux 8 Reporter: Petr Pisar <ppisar>
Component: perl-Time-HiResAssignee: perl-maint-list
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact: Lenka Špačková <lkuprova>
Priority: unspecified    
Version: 8.3CC: bnater, mkyral
Target Milestone: rcKeywords: AutoVerified, EasyFix
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
.An in-place upgrade is now possible when `perl-Time-HiRes` is installed Previously, the `perl-Time-HiRes` package distributed in RHEL 8 was missing an epoch number that was included in the RHEL 7 version of the package. As a consequence, it was impossible to perform an in-place upgrade from RHEL 7 to RHEL 8 when `perl-Time-HiRes` was installed. The missing epoch number has been added, and the in-place upgrade no longer fails when `perl-Time-HiRes` is installed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:43:05 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: 1895880    
Bug Blocks:    

Description Petr Pisar 2020-11-09 09:34:10 UTC
The latest RHEL-7 build is perl-Time-HiRes-4:1.9725-3.el7.

The latest RHEL-8 builds are:
 * perl-Time-HiRes-0:1.9758-1.el8 (nonmodular)
 * perl-Time-HiRes-0:1.9753-2.module+el8.1.0+2926+ce7246ad (perl:5.24 module)
 * perl-Time-HiRes-0:1.9760-439.module+el8.3.0+6718+7f269185 (perl:5.30 module)

It seems that perl-Time-HiRes lost an epoch number and that makes a NEVR string of the packages lower and prevents from an in-place upgrade. It's desired to introduce the Epoch=4 to the RHEL-8 packages.

Comment 2 Petr Pisar 2020-11-09 09:50:57 UTC
The issue is mostly irrelevant for modular packages from the non-default streams because streams are incomparable and users are advised to switch the streams with "yum distro-sync --allowerasing" command.
That leaves the fix to the non-modular perl-Time-HiRes-0:1.9758-1.el8 package. We can correct the modular packages any time later.

Comment 3 Petr Pisar 2020-11-09 09:58:11 UTC
For the records for the historians: We had the same issue in RHEL-7 as RHEL-6 bumped the epoch by a mistake. See bug #1029470.

Comment 4 Martin Kyral 2020-11-09 12:38:50 UTC
I would left modular packages out as E:NVRA is completely irrelevant when switching streams. Actually, I've seen Epoch being removed from a modular package for it's loss of purpose there.

Comment 18 errata-xmlrpc 2021-05-18 15:43:05 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 (perl-Time-HiRes 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-2021:1822