[CentOS] Moving to CentOS 8 Stream

Thu Dec 10 09:32:57 UTC 2020
Pete Biggs <pete at biggs.org.uk>

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:
> 
> http://mirror.centos.org/centos/8-
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 at centos.org
> https://lists.centos.org/mailman/listinfo/centos