Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 2230705

Summary: rhel-9.3 golang fails to update from rhel-9.2 due to obsolete golang-race package on x86_64
Product: Red Hat Enterprise Linux 9 Reporter: Edjunior Barbosa Machado <emachado>
Component: golangAssignee: Alejandro Sáez Morollón <asm>
Status: CLOSED ERRATA QA Contact: Edjunior Barbosa Machado <emachado>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.3CC: asm, dbenoit, emachado, scoady, sipoyare, tstellar
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: golang-1.20.6-5.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2230599 Environment:
Last Closed: 2023-11-07 08:26:23 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: 2230599    
Bug Blocks:    

Description Edjunior Barbosa Machado 2023-08-09 20:26:20 UTC
Same issue was found with rhel-9.3 golang-1.20.6-4.el9, when updating from rhel-9.2.z golang-1.19.10-1.el9_2:

[root@vm-10-0-185-255 ~]# rpm -qa golang\* go-toolset\* delve\*
golang-src-1.19.10-1.el9_2.noarch
golang-bin-1.19.10-1.el9_2.x86_64
golang-1.19.10-1.el9_2.x86_64
delve-1.9.1-1.el9.x86_64
go-toolset-1.19.10-1.el9_2.x86_64
golang-tests-1.19.10-1.el9_2.noarch
golang-race-1.19.10-1.el9_2.x86_64
golang-misc-1.19.10-1.el9_2.noarch
golang-docs-1.19.10-1.el9_2.noarch
[root@vm-10-0-185-255 ~]# 
[root@vm-10-0-185-255 ~]# yum update /mnt/redhat/brewroot/vol/rhel-9/packages/golang/1.20.6/4.el9/data/signed/fd431d51/noarch/golang-docs-1.20.6-4.el9.noarch.rpm /mnt/redhat/brewroot/vol/rhel-9/packages/golang/1.20.6/4.el9/data/signed/fd431d51/noarch/golang-misc-1.20.6-4.el9.noarch.rpm /mnt/redhat/brewroot/vol/rhel-9/packages/golang/1.20.6/4.el9/data/signed/fd431d51/noarch/golang-src-1.20.6-4.el9.noarch.rpm /mnt/redhat/brewroot/vol/rhel-9/packages/golang/1.20.6/4.el9/data/signed/fd431d51/noarch/golang-tests-1.20.6-4.el9.noarch.rpm /mnt/redhat/brewroot/vol/rhel-9/packages/golang/1.20.6/4.el9/data/signed/fd431d51/x86_64/golang-bin-1.20.6-4.el9.x86_64.rpm /mnt/redhat/brewroot/vol/rhel-9/packages/golang/1.20.6/4.el9/data/signed/fd431d51/x86_64/go-toolset-1.20.6-4.el9.x86_64.rpm /mnt/redhat/brewroot/vol/rhel-9/packages/golang/1.20.6/4.el9/data/signed/fd431d51/x86_64/golang-1.20.6-4.el9.x86_64.rpm /mnt/redhat/brewroot/vol/rhel-9/packages/delve/1.20.2/1.el9/data/signed/fd431d51/x86_64/delve-1.20.2-1.el9.x86_64.rpm 
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:12:52 ago on Wed 09 Aug 2023 04:08:29 PM EDT.
Error: 
 Problem: problem with installed package golang-race-1.19.10-1.el9_2.x86_64
  - package golang-race-1.19.10-1.el9_2.x86_64 requires golang = 1.19.10-1.el9_2, but none of the providers can be installed
  - cannot install both golang-1.20.6-4.el9.x86_64 and golang-1.19.10-1.el9_2.x86_64
  - cannot install the best update candidate for package golang-1.19.10-1.el9_2.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@vm-10-0-185-255 ~]# 


+++ This bug was initially created as a clone of Bug #2230599 +++

Description of problem:
When updating from rhel-8.8.z golang-1.19.10-1.module+el8.8.0+19203+782922b7 (go-toolset-rhel8-8080020230627164522.6b4b45d8) to rhel-8.9 golang-1.20.6-1.module+el8.9.0+19500+fa91430b (go-toolset-rhel8-8090020230801151344.da531176) on x86_64, it fails apparently due to golang-race package no longer being available on the newer version:

[root@vm-10-0-186-12 ~]# rpm -qa golang\* delve\* go-toolset\* 
delve-1.9.1-1.module+el8.8.0+16778+5fbb74f5.x86_64
delve-debuginfo-1.9.1-1.module+el8.8.0+16778+5fbb74f5.x86_64
golang-src-1.19.10-1.module+el8.8.0+19203+782922b7.noarch
golang-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64
go-toolset-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64
delve-debugsource-1.9.1-1.module+el8.8.0+16778+5fbb74f5.x86_64
golang-tests-1.19.10-1.module+el8.8.0+19203+782922b7.noarch
golang-docs-1.19.10-1.module+el8.8.0+19203+782922b7.noarch
golang-bin-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64
golang-race-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64
golang-misc-1.19.10-1.module+el8.8.0+19203+782922b7.noarch
[root@vm-10-0-186-12 ~]# 
[root@vm-10-0-186-12 ~]# yum update /mnt/redhat/brewroot/packages/delve/1.20.2/1.module+el8.9.0+18926+5193682d/data/signed/fd431d51/x86_64/delve-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64.rpm /mnt/redhat/brewroot/packages/delve/1.20.2/1.module+el8.9.0+18926+5193682d/data/signed/fd431d51/x86_64/delve-debuginfo-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64.rpm /mnt/redhat/brewroot/packages/delve/1.20.2/1.module+el8.9.0+18926+5193682d/data/signed/fd431d51/x86_64/delve-debugsource-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64.rpm /mnt/redhat/brewroot/packages/go-toolset/1.20.6/1.module+el8.9.0+19553+02dad4bc/data/signed/fd431d51/x86_64/go-toolset-1.20.6-1.module+el8.9.0+19553+02dad4bc.x86_64.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/1.module+el8.9.0+19500+fa91430b/data/signed/fd431d51/noarch/golang-docs-1.20.6-1.module+el8.9.0+19500+fa91430b.noarch.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/1.module+el8.9.0+19500+fa91430b/data/signed/fd431d51/noarch/golang-misc-1.20.6-1.module+el8.9.0+19500+fa91430b.noarch.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/1.module+el8.9.0+19500+fa91430b/data/signed/fd431d51/noarch/golang-src-1.20.6-1.module+el8.9.0+19500+fa91430b.noarch.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/1.module+el8.9.0+19500+fa91430b/data/signed/fd431d51/noarch/golang-tests-1.20.6-1.module+el8.9.0+19500+fa91430b.noarch.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/1.module+el8.9.0+19500+fa91430b/data/signed/fd431d51/x86_64/golang-1.20.6-1.module+el8.9.0+19500+fa91430b.x86_64.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/1.module+el8.9.0+19500+fa91430b/data/signed/fd431d51/x86_64/golang-bin-1.20.6-1.module+el8.9.0+19500+fa91430b.x86_64.rpm
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:13:41 ago on Wed 09 Aug 2023 12:53:07 PM EDT.
Error: 
 Problem: problem with installed package golang-race-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64
  - package golang-race-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64 requires golang = 1.19.10-1.module+el8.8.0+19203+782922b7, but none of the providers can be installed
  - cannot install both golang-1.20.6-1.module+el8.9.0+19500+fa91430b.x86_64 and golang-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64
  - cannot install the best update candidate for package golang-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)


Version-Release number of selected component (if applicable):
golang-1.20.6-1.module+el8.9.0+19500+fa91430b

Comment 6 errata-xmlrpc 2023-11-07 08:26:23 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 (golang and delve 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-2023:6364