DATE:
As announced by CentOS.org the CentOS Linux 8 has reached End Of Life (EOL) on December 31st, 2021.
This means that CentOS 8 will not receive any updates, either nomal bug fixes or fixes for security vulnerabilities.
Instructions to convert from the CentOS Linux 8 distribution to CentOS Stream 8 published at Q7: How do I migrate my CentOS Linux 8 installation to CentOS Stream? DO NOT WORK as the repositories for CentOS 8 where moved to vault.centos.org.
We are advising you to use the following comands:
# Become root $ sudo su - # Update the CentOS 8 repositories: $ for k in $(ls /etc/yum.repos.d/CentOS-Linux-*.repo); do sudo sed -e 's/^mirrorlist=/#mirrorlist=/' -e 's/#baseurl=http:\/\/mirror/baseurl=http:\/\/vault/' -i $k; done # Update to the latest version of CentOS 8 & reboot $ sudo dnf update $ sudo shutdown -r now # Install CentOS Stream packages repositories $ sudo dnf in centos-release-stream # Migrate from CentOS 8 to CentOS Stream 8 & reboot $ sudo dnf swap centos-linux-repos centos-stream-repos $ sudo dnf distro-sync $ sudo shutdown -r now |
Reference: