IMPORTANT UPDATE | CENTOS Failed to download metadata for repo 'appstream' | CentOS 8 EOL
Hey guys,
Welcome back to another video in the series of “Bash Scripting for Beginners”
This is to update that 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.
You might face this error – CENTOS Failed to download metadata for repo ‘appstream’
DO NOT WORRY, in order to get rid of that follow these steps
Step 1: Go to the /etc/yum.repos.d/ directory.
Step 2: Run the below 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-*
Step 3: To clean all cached information, use the following command
yum clean all
Step 4: Now run the yum update
yum update -y
Credits link – https://forums.centos.org/viewtopic.php?t=78708&p=330800
LogicOps Lab – https://www.youtube.com/channel/UCjGcthjRHGegI8TeJHMS6wA?sub_confirmation=1
LogicOps Lab – Hindi – https://www.youtube.com/channel/UCaPJAaaGc2Pw6kPXop0BDBg?sub_confirmation=1
GitHub – https://bit.ly/3lsUjdE
Twitter – https://twitter.com/LogicOpsLab
Instagram – https://bit.ly/3tJ9Jyf
Facebook – https://bit.ly/3ziMoVq
Like | Share | Subscribe | Follow
centos 8 eol, centos 8 end of life
centos 8