Rocky 9.5 Failed to download metadata for repo 'baseos'

Hello,

I am trying to update two Rocky 9.5 servers, one local and one in a data center. I am getting this error on both of them:

Error: Failed to download metadata for repo 'baseos': Yum repo downloading error: Downloading error(s): repodata/230cec9b-e893-4f8d-aedf-11663dcd15e8-PRIMARY.xml.gz - Cannot download, all mirrors were already tried without success; repodata/f52410cf-c203-4321-ad32-728433857cf5-FILELISTS.xml.gz - Cannot download, all mirrors were already tried without success; repodata/f52410cf-c203-4321-ad32-728433857cf5-GROUPS.xml.gz - Cannot download, all mirrors were already tried without success

When I check the mirrors, I see that there is no file starting with f52410cf. Is this a problem that everyone is experiencing?

You could check whether cleaning cache makes a difference:

dnf --enablerepo=* clean all

You can also have a look at

/var/log/dnf.librepo.log

If it ever worked, you should see the point at which it started failing, and more detailed error messages

Thank you for your suggestions.

I already tried updating by clearing the cache, but it didn’t work.

In the /var/log/dnf.librepo.log file, there are only 404 errors when trying to access mirrors, I couldn’t see any other information.

The problem still persists. But as a workaround: I commented out the mirrorlist from the baseos field in the /etc/yum.repos.d/rocky.repo file and opened the baseurl. That way I was able to update the servers for now.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.