Wednesday, July 12, 2023

Fixation of older CentOS8 repos

Follow the below steps to fix the broken Centos8 repo setup - works good in CentOS8

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-*

0 Comments: