Red Hat and CentOS
CentOS 8
$ 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-*RHEL, AlmaLinux, RockyLinux, and CentOS 9 Stream
Configure YUM
Install
FAQ
Yum install fails with a 404 - Page not found error for the package mirror
404 - Page not found error for the package mirrorYum install fails with incompatible dependencies using CentOS 9+
Last updated
Was this helpful?