Failed to download metadata for repo 'appstream':

``Error: Failed to download metadata for repo ‘appstream’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Anyways: provide context, for example, when the problem started happening, etc.

Technically not spam, but might as well be.

1 Like

[root@rockylinux_test1 yum.repos.d]# cat Rocky-BaseOS.repo

Rocky-BaseOS.repo

The ######mirrorlist system uses the connecting IP address of the client and the

update status of each mirror to pick current mirrors that are geographically

close to the client. You should use this for Rocky updates unless you are

manually picking other mirrors.

If the ######mirrorlist does not work for you, you can try the commented out

baseurl line instead.

[baseos]
name=Rocky Linux $releasever - BaseOS
##mirrorlist=https://mirrors.rockylinux.org/######mirrorlist?arch=$basearch&repo=BaseOS-$releasever
baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
[root@rockylinux_test1 yum.repos.d]#

[root@rockylinux_test1 yum.repos.d]# cat Rocky-AppStream.repo

Rocky-AppStream.repo

The ######mirrorlist system uses the connecting IP address of the client and the

update status of each mirror to pick current mirrors that are geographically

close to the client. You should use this for Rocky updates unless you are

manually picking other mirrors.

If the ######mirrorlist does not work for you, you can try the commented out

baseurl line instead.

[appstream]
name=Rocky Linux $releasever - AppStream
#mirrorlist=https://mirrors.rockylinux.org/######mirrorlist?arch=$basearch&repo=AppStream-$releasever
baseurl=http://dl.rockylinux.org/vault/rocky/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rockyofficial
[root@rockylinux_test1 yum.repos.d]