current position:Home>- Status code: 404 for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/repodata/repom

- Status code: 404 for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/repodata/repom

2022-04-29 17:03:26will_ net

CentOS Linux 8 - AppStream 7.3 kB/s | 2.3 kB 00:00
Errors during downloading metadata for repository ‘appstream’:

  • Status code: 404 for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/repodata/repomd.xml (IP: 100.100.2.148)
    error : by repo ‘appstream’ Failed to download metadata : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
     Insert picture description here Solution :

1、 Get into /etc/yum.repos.d

cd /etc/yum.repos.d

2、 Delete file

rm -f *.repo

3、 Set up

 curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo

4、 cache

yum makecache

5、 Installation package

 yum install vim

 Insert picture description here

copyright notice
author[will_ net],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/119/202204291508123657.html

Random recommended