Bug 2230705 - rhel-9.3 golang fails to update from rhel-9.2 due to obsolete golang-race package on x86_64
Summary: rhel-9.3 golang fails to update from rhel-9.2 due to obsolete golang-race pac...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: golang
Version: 9.3
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Alejandro Sáez Morollón
QA Contact: Edjunior Barbosa Machado
URL:
Whiteboard:
Depends On: 2230599
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-09 20:26 UTC by Edjunior Barbosa Machado
Modified: 2023-08-14 16:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2230599
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-165273 0 None None None 2023-08-09 20:27:11 UTC

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


Note You need to log in before you can comment on or make changes to this bug.