CentOS 8.x migrate to CentOS 8.x Stream

From Notes_Wiki

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:

  1. Change all repository configuration as follows
    1. Go to folder /etc/yum.repos.d/
    2. For every enabled repository do following:
      1. Comment mirrorlist
      2. Uncomment baseurl
      3. Change baseurl domain from mirror.centos.org to vault.centos.org
  2. Fully update machine
    dnf update -y --skip-broken --nobest
    It should take OS to "8.5.2111" (' cat /etc/centos-release')
  3. 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
  4. 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