Bug 2230599

Summary: rhel-8.9 golang fails to update from rhel-8.8 due to obsolete golang-race package on x86_64
Product: Red Hat Enterprise Linux 8 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: 8.9CC: asm, emachado, scoady, sipoyare, tstellar
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: go-toolset-rhel8-8090020230817143732.da531176 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2230705 (view as bug list) Environment:
Last Closed: 2023-11-14 15:26:41 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:    
Bug Blocks: 2230705    

Description Edjunior Barbosa Machado 2023-08-09 17:20:43 UTC
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 2 Edjunior Barbosa Machado 2023-08-25 08:58:44 UTC
Tested with golang-1.20.6-2.module+el8.9.0+19701+c8a266b4 (go-toolset:rhel8:8090020230817143732:da531176):

[root@vm-10-0-186-238 ~]# yum update /mnt/redhat/brewroot/packages/delve/1.20.2/1.module+el8.9.0+18926+5193682d/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/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/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/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/2.module+el8.9.0+19701+c8a266b4/noarch/golang-docs-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/2.module+el8.9.0+19701+c8a266b4/noarch/golang-misc-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/2.module+el8.9.0+19701+c8a266b4/noarch/golang-src-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/2.module+el8.9.0+19701+c8a266b4/noarch/golang-tests-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/2.module+el8.9.0+19701+c8a266b4/x86_64/golang-1.20.6-2.module+el8.9.0+19701+c8a266b4.x86_64.rpm /mnt/redhat/brewroot/packages/golang/1.20.6/2.module+el8.9.0+19701+c8a266b4/x86_64/golang-bin-1.20.6-2.module+el8.9.0+19701+c8a266b4.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:04:34 ago on Fri 25 Aug 2023 04:51:03 AM EDT.
Dependencies resolved.
====================================================================================================
 Package               Arch       Version                                    Repository        Size
====================================================================================================
Upgrading:
 delve                 x86_64     1.20.2-1.module+el8.9.0+18926+5193682d     @commandline     4.4 M
 delve-debuginfo       x86_64     1.20.2-1.module+el8.9.0+18926+5193682d     @commandline     3.7 M
 delve-debugsource     x86_64     1.20.2-1.module+el8.9.0+18926+5193682d     @commandline     1.0 M
 go-toolset            x86_64     1.20.6-1.module+el8.9.0+19553+02dad4bc     @commandline      13 k
 golang                x86_64     1.20.6-2.module+el8.9.0+19701+c8a266b4     @commandline     685 k
     replacing  golang-race.x86_64 1.19.10-1.module+el8.8.0+19203+782922b7
 golang-bin            x86_64     1.20.6-2.module+el8.9.0+19701+c8a266b4     @commandline      65 M
 golang-docs           noarch     1.20.6-2.module+el8.9.0+19701+c8a266b4     @commandline     134 k
 golang-misc           noarch     1.20.6-2.module+el8.9.0+19701+c8a266b4     @commandline     238 k
 golang-src            noarch     1.20.6-2.module+el8.9.0+19701+c8a266b4     @commandline      12 M
 golang-tests          noarch     1.20.6-2.module+el8.9.0+19701+c8a266b4     @commandline     8.2 M

Transaction Summary
====================================================================================================
Upgrade  10 Packages

Total size: 95 M
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Running scriptlet: golang-1.20.6-2.module+el8.9.0+19701+c8a266b4.x86_64                       1/1 
  Preparing        :                                                                            1/1 
  Upgrading        : golang-src-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch                  1/21 
  Upgrading        : golang-bin-1.20.6-2.module+el8.9.0+19701+c8a266b4.x86_64                  2/21 
  Upgrading        : golang-1.20.6-2.module+el8.9.0+19701+c8a266b4.x86_64                      3/21 
  Upgrading        : delve-debugsource-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64           4/21 
  Upgrading        : delve-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64                       5/21 
  Upgrading        : go-toolset-1.20.6-1.module+el8.9.0+19553+02dad4bc.x86_64                  6/21 
  Upgrading        : delve-debuginfo-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64             7/21 
  Upgrading        : golang-docs-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch                 8/21 
  Upgrading        : golang-misc-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch                 9/21 
  Upgrading        : golang-tests-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch               10/21 
  Cleanup          : go-toolset-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64                11/21 
  Obsoleting       : golang-race-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64               12/21 
  Cleanup          : golang-tests-1.19.10-1.module+el8.8.0+19203+782922b7.noarch              13/21 
  Cleanup          : golang-misc-1.19.10-1.module+el8.8.0+19203+782922b7.noarch               14/21 
  Cleanup          : golang-docs-1.19.10-1.module+el8.8.0+19203+782922b7.noarch               15/21 
  Cleanup          : golang-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64                    16/21 
  Cleanup          : delve-debuginfo-1.9.1-1.module+el8.8.0+16778+5fbb74f5.x86_64             17/21 
  Cleanup          : delve-debugsource-1.9.1-1.module+el8.8.0+16778+5fbb74f5.x86_64           18/21 
  Cleanup          : golang-bin-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64                19/21 
  Cleanup          : golang-src-1.19.10-1.module+el8.8.0+19203+782922b7.noarch                20/21 
  Cleanup          : delve-1.9.1-1.module+el8.8.0+16778+5fbb74f5.x86_64                       21/21 
  Running scriptlet: delve-1.9.1-1.module+el8.8.0+16778+5fbb74f5.x86_64                       21/21 
  Verifying        : delve-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64                       1/21 
  Verifying        : delve-1.9.1-1.module+el8.8.0+16778+5fbb74f5.x86_64                        2/21 
  Verifying        : delve-debuginfo-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64             3/21 
  Verifying        : delve-debuginfo-1.9.1-1.module+el8.8.0+16778+5fbb74f5.x86_64              4/21 
  Verifying        : delve-debugsource-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64           5/21 
  Verifying        : delve-debugsource-1.9.1-1.module+el8.8.0+16778+5fbb74f5.x86_64            6/21 
  Verifying        : go-toolset-1.20.6-1.module+el8.9.0+19553+02dad4bc.x86_64                  7/21 
  Verifying        : go-toolset-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64                 8/21 
  Verifying        : golang-docs-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch                 9/21 
  Verifying        : golang-docs-1.19.10-1.module+el8.8.0+19203+782922b7.noarch               10/21 
  Verifying        : golang-misc-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch                11/21 
  Verifying        : golang-misc-1.19.10-1.module+el8.8.0+19203+782922b7.noarch               12/21 
  Verifying        : golang-src-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch                 13/21 
  Verifying        : golang-src-1.19.10-1.module+el8.8.0+19203+782922b7.noarch                14/21 
  Verifying        : golang-tests-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch               15/21 
  Verifying        : golang-tests-1.19.10-1.module+el8.8.0+19203+782922b7.noarch              16/21 
  Verifying        : golang-1.20.6-2.module+el8.9.0+19701+c8a266b4.x86_64                     17/21 
  Verifying        : golang-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64                    18/21 
  Verifying        : golang-race-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64               19/21 
  Verifying        : golang-bin-1.20.6-2.module+el8.9.0+19701+c8a266b4.x86_64                 20/21 
  Verifying        : golang-bin-1.19.10-1.module+el8.8.0+19203+782922b7.x86_64                21/21 
Installed products updated.

Upgraded:
  delve-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64                                               
  delve-debuginfo-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64                                     
  delve-debugsource-1.20.2-1.module+el8.9.0+18926+5193682d.x86_64                                   
  go-toolset-1.20.6-1.module+el8.9.0+19553+02dad4bc.x86_64                                          
  golang-1.20.6-2.module+el8.9.0+19701+c8a266b4.x86_64                                              
  golang-bin-1.20.6-2.module+el8.9.0+19701+c8a266b4.x86_64                                          
  golang-docs-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch                                         
  golang-misc-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch                                         
  golang-src-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch                                          
  golang-tests-1.20.6-2.module+el8.9.0+19701+c8a266b4.noarch                                        

Complete!

Comment 6 errata-xmlrpc 2023-11-14 15:26:41 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 (go-toolset:rhel8 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:6928