Go-toolset-1.19.13 built but not available via dnf

It was obviously built and I can find it at Index of /pub/rocky/8/AppStream/x86_64/os/Packages/g/, but dnf doesn’t know anything about it and gives 1.19.10 as the latest:

$ dnf list go-toolset --refresh
...
Available Packages
go-toolset.x86_64        1.19.10-1.module+el8.8.0+1324+77e44fad        appstream

This is with mirrors disabled and baseurl=http://dl.rockylinux.org/... Broken repodata?

Hey there!

As this package is part of a Module Stream, could it be that you somehow have disabled the go-toolset module?
At least on my side it’s working, until I run dnf module disable go-toolset,
you should see if that’s the case with dnf module list --disabled

scratch that ^^

Definitely looks like it’s been missed. On RHEL8:

[root@rhel8 ~]# dnf list go-toolset
Updating Subscription Management repositories.
Last metadata expiration check: 3:46:23 ago on Fri 27 Oct 2023 01:42:29 PM CEST.
Available Packages
go-toolset.x86_64      1.19.13-1.module+el8.8.0+20380+7171fefb      rhel-8-for-x86_64-appstream-rpms

[root@rhel8 ~]# dnf module list go-toolset
Updating Subscription Management repositories.
Last metadata expiration check: 3:49:36 ago on Fri 27 Oct 2023 01:42:29 PM CEST.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
Name                       Stream                   Profiles                  Summary               
go-toolset                 rhel8 [d]                common [d]                Go                    

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

on Rocky 8:

[root@rocky8 ~]# dnf module list go-toolset
Last metadata expiration check: 0:00:20 ago on Fri 27 Oct 2023 05:32:17 PM CEST.
Rocky Linux 8 - AppStream
Name                  Stream              Profiles             Summary          
go-toolset            rhel8 [d]           common [d]           Go               

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

[root@rocky8 ~]# dnf list go-toolset
Last metadata expiration check: 0:00:28 ago on Fri 27 Oct 2023 05:32:17 PM CEST.
Available Packages
go-toolset.x86_64        1.19.10-1.module+el8.8.0+1324+77e44fad        appstream

@lumarel are you sure it’s showing 1.19.13 as a module on yours? If so, then I guess mirrors are not updated properly. I was investigating while you posted, so in theory, as the module doesn’t show versions to select from it should auto-update.

Ah sorry I see the issue as well now :upside_down_face: (after reading again)
Hmm looks like the Module data didn’t get a rebuild up to now.

1 Like

Ah, I see what is happening. If I disable the module, then 1.19.13 appears, however when it’s enabled, the module reverts to 1.19.10. So yeah looks like the module data :slight_smile:

Yeah this is a side effect, of disabling modules and acting as if they are normal packages,
it definitely is a Module Stream, but the module data is just not up to date:

---
document: modulemd
version: 2
data:
  name: go-toolset
  stream: "rhel8"
  version: 8080020230516204851
  context: 17f3f959
  arch: x86_64
  summary: Go
  description: >-
    Go Tools and libraries
  license:
    module:
    - MIT
    content:
    - BSD and Public Domain
    - MIT
  xmd: {}
  dependencies:
  - buildrequires:
      go-toolset: [rhel8]
      platform: [el8.8.0]
    requires:
      platform: [el8]
  profiles:
    common:
      rpms:
      - go-toolset
  api:
    rpms:
    - golang
  buildopts:
    rpms:
      whitelist:
      - delve
      - go-toolset
      - go-toolset-1.10
      - go-toolset-1.10-golang
      - go-toolset-golang
      - golang
  components:
    rpms:
      delve:
        rationale: A debugger for the Go programming language
        ref: 7ebd17d896a48565163b320e7d30c3a3899a9c85
        buildorder: 2
        arches: [aarch64, i686, x86_64]
      go-toolset:
        rationale: Meta package for go-toolset providing scl enable scripts.
        ref: 8900909cf5521c05852df056c8f25f904d0d18c4
        arches: [aarch64, i686, x86_64]
      golang:
        rationale: Package providing the Go compiler toolchain.
        ref: ee1614642816cada3b008925836a7784444f4f7a
        buildorder: 1
        arches: [aarch64, i686, x86_64]
  artifacts:
    rpms:
    - delve-0:1.9.1-1.module+el8.8.0+1263+19d1a562.src
    - delve-0:1.9.1-1.module+el8.8.0+1263+19d1a562.x86_64
    - delve-debuginfo-0:1.9.1-1.module+el8.8.0+1263+19d1a562.x86_64
    - delve-debugsource-0:1.9.1-1.module+el8.8.0+1263+19d1a562.x86_64
    - go-toolset-0:1.19.6-1.module+el8.8.0+1263+19d1a562.src
    - go-toolset-0:1.19.6-1.module+el8.8.0+1263+19d1a562.x86_64
    - golang-0:1.19.6-1.module+el8.8.0+1263+19d1a562.src
    - golang-0:1.19.6-1.module+el8.8.0+1263+19d1a562.x86_64
    - golang-bin-0:1.19.6-1.module+el8.8.0+1263+19d1a562.x86_64
    - golang-docs-0:1.19.6-1.module+el8.8.0+1263+19d1a562.noarch
    - golang-misc-0:1.19.6-1.module+el8.8.0+1263+19d1a562.noarch
    - golang-race-0:1.19.6-1.module+el8.8.0+1263+19d1a562.x86_64
    - golang-src-0:1.19.6-1.module+el8.8.0+1263+19d1a562.noarch
    - golang-tests-0:1.19.6-1.module+el8.8.0+1263+19d1a562.noarch
...
1 Like

I think the metadata update should be out everywhere now :+1:

Yup, confirmed:

[root@rocky8 ~]# dnf list go-toolset
Last metadata expiration check: 3:00:28 ago on Sat 28 Oct 2023 09:05:33 AM CEST.
Available Packages
go-toolset.x86_64        1.19.13-1.module+el8.8.0+1526+386b5e05        appstream

@chemal it should be working for you too.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.