Johnny - Thanks for that. It did mostly work - it wasn't keen on installing the RPM you pointed to, but once it did the distro swap worked and the system is now only using 8-stream as its repositories.
Thanks
P.
sure .. you can manually add the one repo required to manually do the swap command ..
Or maybe just install this package and then remove the other one:
you want:
stream/BaseOS/x86_64/os/Packages/centos-stream-repos-8-2.el8.noarch.rpm
installed first
Then remove centos-repos
Or you could manually create a CentOS-Stream-BaseOS.repo (you could
even
name it test.repo and remove it later once switched) this will work:
[baseos] name=CentOS Stream $releasever - BaseOS
mirrorlist=http://mirrorlist.centos.org/?release=$stream&arch=$basearch &repo=BaseOS&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$stream/BaseOS/$basearch/ os/
gpgcheck=1 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
in /etc/yum.repos.d/<somename>.repo
then once the distro-sync command works, remove <somaname.repo>
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos