From the official explanation:
CentOS Linux 8 had reached the End Of Life (EOL) on December 31st, 2021. It means that CentOS 8 will no longer receive development resources from the official CentOS project. After Dec 31st, 2021, if you need to update your CentOS, you need to change the mirrors to vault.centos.org where they will be archived permanently.
Solution: Execute the following statements in sequence
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-*
yum update
Read More:
- yum: Error: Failed to download metadata for repo ‘aliyun-AppStream‘: Cannot download repomd.xml
- [Solved] Error: Failed to download metadata for repo ‘appstream‘
- [Solve] Yinhe Qilin V10 System Error: Failed to download metadata for repo ‘ks10-adv-os‘
- Euopenler 21.09 sudo Yum Update Error: Errors during downloading metadata for repository ‘EPOL’
- CentOS Yum error: cannot retrieve repository metadata (repomd.xml) for repository:
- Linux yum Error: All mirror URLs are not using ftp
- [Solved] CentOS Use Yum to install dependency: error: rpmdb open failed
- [Solved] Yum Install Software Error: Invalid configuration value: failovermethod=priority…
- Ansible Use yum module to install rpm Error: Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate v
- linux yum Error: PYCURL ERROR 6 – “Couldn’t resolve host ‘mirrorlist.centos.org’”
- [Solved] Some index files failed to download.They have been ignored, or old ones used instead
- Resolving yum source-related issues: Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again
- [Solved] yum command Error: “except keyboardinterrupt, e: syntax error: invalid syntax”“
- CentOS 8: No URLs in mirrorlist error [How to Solve]
- yum Error: rpmdb open failed [How to Solve]
- Yum source error: [errno 14] HTTP Error 404 – not found
- [Solved] yum Install rpmdb Error: error: rpmdb: BDB0113 failed: BDB1507 Thread died in Berkeley DB library
- How to Solve Yum Error: db5 error(30973)
- WARNING: Download failure <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- [Solved] Sed Failed to Reference Variable error: extra characters after command