Failed to download metadata for repo ‘AppStream’ [CentOS8]

Posted w329636271

tags:

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

[root@autocontroller ~]# yum update
CentOS-8 - AppStream 70 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'AppStream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
[root@autocontroller ~]# cd /etc/yum.repos.d/
[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-*
[root@autocontroller ~]# yum update -y

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

解决:Failed to download metadata for repo ‘base‘

Error: Chromium revision is not downloaded. Failed to download Chromium

Error: automake: Failed to download resource “m4“

Error: automake: Failed to download resource “m4“

Mysql错误Unable to connect to remote host. Catalog download has failed.

Fix Failed to download metadata for repo