Fix Failed to download metadata for repo

Posted wemux

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Fix Failed to download metadata for repo相关的知识,希望对你有一定的参考价值。

Step 1: Go to the /etc/yum.repos.d/ directory.

[root@autocontroller ~]# cd /etc/yum.repos.d/

Step 2: Run the below commands

[root@autocontroller ~]# sed -i s/mirrorlist/#mirrorlist/g /etc/yum.repos.d/CentOS-*
[root@autocontroller ~]# sed -i s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g /etc/yum.repos.d/CentOS-*

Step 3: Now run the yum update

[root@autocontroller ~]# yum update -y

以上是关于Fix Failed to download metadata for repo的主要内容,如果未能解决你的问题,请参考以下文章

How to Fix "Linux Failure to Download extra data files for ttf-mscorefonts-installer" erro

Failed to Download Index

Failed to decode downloaded font和OTS parsing error: Failed to convert *** font to ***

Passport req.user ?? CastError: Cast to ObjectId failed for value " _id: 'me', active: true &qu

Passport req.user 返回 CastError: Cast to ObjectId failed for value " _id: 'me', active: true &qu

FAILED: HiveException java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.me