Hi @flowerysong, and thanks for getting back to me.
So, I got rid of all of the *.repo
files except for rocky.repo
(in an effort to minimise the resulting data) and ran the dnf repolist --all --verbose
command. Results are as follows:
Loaded plugins: builddep, changelog, config-manager, copr, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.20.0
cachedir: /var/cache/dnf
Last metadata expiration check: 0:59:03 ago on Mon 29 Sep 2025 16:32:14.
Repo-id : appstream
Repo-name : Rocky Linux 10 - AppStream
Repo-status : enabled
Repo-revision : 10
Repo-distro-tags : [cpe:/o:rocky:rocky:10]: , , 0, 1, L, R, c, i, k, n, o, u, x, y
Repo-updated : Sat 27 Sep 2025 20:15:21
Repo-pkgs : 5,453
Repo-available-pkgs: 5,453
Repo-size : 12 G
Repo-mirrors : https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=AppStream-10
Repo-baseurl : https://rockylinux.mirror.digitalpacific.com.au/10.0/AppStream/x86_64/os/ (5 more)
Repo-expire : 21,600 second(s) (last: Mon 29 Sep 2025 16:32:14)
Repo-filename : /etc/yum.repos.d/rocky.repo
Repo-id : appstream-debuginfo
Repo-name : Rocky Linux 10 - AppStream - Debug
Repo-status : disabled
Repo-mirrors : https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=AppStream-10-debug
Repo-expire : 21,600 second(s) (last: unknown)
Repo-filename : /etc/yum.repos.d/rocky.repo
Repo-id : appstream-source
Repo-name : Rocky Linux 10 - AppStream - Source
Repo-status : disabled
Repo-mirrors : https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=AppStream-10-source
Repo-expire : 21,600 second(s) (last: unknown)
Repo-filename : /etc/yum.repos.d/rocky.repo
Repo-id : baseos
Repo-name : Rocky Linux 10 - BaseOS
Repo-status : enabled
Repo-revision : 10
Repo-distro-tags : [cpe:/o:rocky:rocky:10]: , , 0, 1, L, R, c, i, k, n, o, u, x, y
Repo-updated : Sat 27 Sep 2025 20:14:28
Repo-pkgs : 1,858
Repo-available-pkgs: 1,858
Repo-size : 8.9 G
Repo-mirrors : https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-10
Repo-baseurl : https://ftp.swin.edu.au/rocky/10.0/BaseOS/x86_64/os/ (5 more)
Repo-expire : 21,600 second(s) (last: Mon 29 Sep 2025 16:32:13)
Repo-filename : /etc/yum.repos.d/rocky.repo
Repo-id : baseos-debuginfo
Repo-name : Rocky Linux 10 - BaseOS - Debug
Repo-status : disabled
Repo-mirrors : https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-10-debug
Repo-expire : 21,600 second(s) (last: unknown)
Repo-filename : /etc/yum.repos.d/rocky.repo
Repo-id : baseos-source
Repo-name : Rocky Linux 10 - BaseOS - Source
Repo-status : disabled
Repo-mirrors : https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=BaseOS-10-source
Repo-expire : 21,600 second(s) (last: unknown)
Repo-filename : /etc/yum.repos.d/rocky.repo
Repo-id : crb
Repo-name : Rocky Linux 10 - CRB
Repo-status : disabled
Repo-mirrors : https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=CRB-10
Repo-expire : 21,600 second(s) (last: unknown)
Repo-filename : /etc/yum.repos.d/rocky.repo
Repo-id : crb-debuginfo
Repo-name : Rocky Linux 10 - CRB - Debug
Repo-status : disabled
Repo-mirrors : https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=CRB-10-debug
Repo-expire : 21,600 second(s) (last: unknown)
Repo-filename : /etc/yum.repos.d/rocky.repo
Repo-id : crb-source
Repo-name : Rocky Linux 10 - CRB - Source
Repo-status : disabled
Repo-mirrors : https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=CRB-10-source
Repo-expire : 21,600 second(s) (last: unknown)
Repo-filename : /etc/yum.repos.d/rocky.repo
Total packages: 7,311
I can’t see (in the above) anywhere where there is two ^Repo-id\s*:\s*(\S+)$
lines without a `` line between them (but then again, my eyesight isn’t good), and yet I’m still getting the original error.
Have I missed something (includeing not understanding the Regex properly) or is there something else happening - what do you think?
And thanks heaps for the help
Cheers