# Rocky 9.5 Failed to download metadata for repo 'baseos'

**URL:** <https://forums.rockylinux.org/t/rocky-9-5-failed-to-download-metadata-for-repo-baseos/16718>\
**Category:** Rocky Linux Help & Support\
**Created:** [December 3, 2024, 11:55am UTC](https://forums.rockylinux.org/t/rocky-9-5-failed-to-download-metadata-for-repo-baseos/16718 "2024-12-03T11:55:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gev](https://avatars.discourse-cdn.com/v4/letter/g/50afbb/32.png) [@gev](https://forums.rockylinux.org/u/gev)\
**Post date:** [December 3, 2024, 11:55am UTC](https://forums.rockylinux.org/t/rocky-9-5-failed-to-download-metadata-for-repo-baseos/16718/1 "2024-12-03T11:55:13Z")

</div>

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:

```auto
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?

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [December 3, 2024, 6:23pm UTC](https://forums.rockylinux.org/t/rocky-9-5-failed-to-download-metadata-for-repo-baseos/16718/2 "2024-12-03T18:23:37Z")

</div>

You could check whether cleaning cache makes a difference:

```auto
dnf --enablerepo=* clean all

```

---

<div class="post-metadata">

**Author:** ![gerry666uk](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gerry666uk](https://forums.rockylinux.org/u/gerry666uk)\
**Post date:** [December 3, 2024, 9:00pm UTC](https://forums.rockylinux.org/t/rocky-9-5-failed-to-download-metadata-for-repo-baseos/16718/3 "2024-12-03T21:00:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gev](https://avatars.discourse-cdn.com/v4/letter/g/50afbb/32.png) [@gev](https://forums.rockylinux.org/u/gev)\
**Post date:** [December 4, 2024, 4:50am UTC](https://forums.rockylinux.org/t/rocky-9-5-failed-to-download-metadata-for-repo-baseos/16718/4 "2024-12-04T04:50:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [February 2, 2025, 4:50am UTC](https://forums.rockylinux.org/t/rocky-9-5-failed-to-download-metadata-for-repo-baseos/16718/5 "2025-02-02T04:50:54Z")

</div>

Closed on February 2, 2025, 4:50am UTC

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