- Status code: 404 for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/repodata/repom
CentOS Linux 8 - AppStream 7.3 kB/s | 2.3 kB 00:00
Errors during downloading metadata for repository ‘a(chǎn)ppstream’:
Status code: 404 for http://mirrors.cloud.aliyuncs.com/centos/8/AppStream/x86_64/os/repodata/repomd.xml (IP: 100.100.2.148)
錯(cuò)誤:為 repo ‘a(chǎn)ppstream’ 下載元數(shù)據(jù)失敗 : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
解決方案:
1、進(jìn)入 /etc/yum.repos.d
cd /etc/yum.repos.d
1
2、刪除文件
rm -f *.repo
1
3、設(shè)置
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
1
4、緩存
yum makecache
1
2
5、安裝包
yum install vim
1
————————————————
版權(quán)聲明:本文為CSDN博主「will_net」的原創(chuàng)文章,遵循CC 4.0 BY-SA版權(quán)協(xié)議,轉(zhuǎn)載請附上原文出處鏈接及本聲明。
原文鏈接:https://blog.csdn.net/will_net/article/details/124458114

浙公網(wǎng)安備 33010602011771號(hào)