News
New service: Video on demand (VoD) now available in the control panel!
Serverspace Black Friday
DC
February 4 2022
Updated June 7 2023

Fixing inactive repositories in CentOS 8

CentOS

Due to the fact that CentOS 8 is no longer supported, its repositories begin to be unavailable and give errors.

If you encounter this error, we recommend switching to the current OS - OEL 8.

If for some reason you cannot switch OS, then to correct this error, it is enough to enter 2 commands:

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

Done!

Vote:
5 out of 5
Аverage rating : 5
Rated by: 2
office No. 2206-10 Mazaya Business Avenue BB1 Jumeirah Lake Towers, Dubai, UAE
+971 58 262 9713
700 300
ITGLOBAL.COM DMCC
700 300
We use cookies to make your experience on the Falconcloud better. By continuing to browse our website, you agree to our
Use of Cookies and Privacy Policy.