CentOS 8.x migrate to CentOS 8.x Stream
From Notes_Wiki
Revision as of 05:16, 8 October 2023 by Saurabh (talk | contribs) (Created page with "Home > CentOS > CentOS 8.x > System Administration > Package management > CentOS 8.x migrate to CentOS 8.x Stream If you have older CentOS 8 machines they wont work now as repositories have been discontinued. To make them usable, we can migrate from CentOS to CentOS 8.x stream using: # Change all repository configuration as follows ##...")
Home > CentOS > CentOS 8.x > System Administration > Package management > CentOS 8.x migrate to CentOS 8.x Stream
If you have older CentOS 8 machines they wont work now as repositories have been discontinued. To make them usable, we can migrate from CentOS to CentOS 8.x stream using:
- Change all repository configuration as follows
- Go to folder /etc/yum.repos.d/
- For every enabled repository do following:
- Comment mirrorlist
- Uncomment baseurl
- Change baseurl domain from mirror.centos.org to vault.centos.org
- Fully update machine
- dnf update -y --skip-broken --nobest
- It should take OS to "8.5.2111" (' cat /etc/centos-release')
- Install stream packages and swap repos
- dnf install centos-release-stream -y
- dnf swap centos-{linux,stream}-repos -y
- dnf distro-sync -y
- shutdown -r now
- After reboot check
- cat /etc/*release
- It should now be "CentOS stream release 8"
Refer:
Home > CentOS > CentOS 8.x > System Administration > Package management > CentOS 8.x migrate to CentOS 8.x Stream