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: NEW --- QA Contact: Edjunior Barbosa Machado <emachado>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.3CC: asm, dbenoit, emachado, sipoyare, tstellar
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2230599 Environment:
Last Closed: 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