Closed pcchen closed 2 years ago
Following commands seem to fix the issue.
cd /etc/yum.repos.d/
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
Because CentOS Linux 8 had reached the End Of Life (EOL), when you use
yum
to install new packages, error likes this will appear