# Status code: 404 for http://dl.rockylinux.org/pub/sig/latest/altarch/x86\_64/altarch-rockyrpi/repodata/repomd.xml

**URL:** https://forums.rockylinux.org/t/status-code-404-for-http-dl-rockylinux-org-pub-sig-latest-altarch-x86-64-altarch-rockyrpi-repodata-repomd-xml/9068
**Category:** Rocky Linux Help & Support
**Created:** [March 3, 2023, 1:18am UTC](https://forums.rockylinux.org/t/status-code-404-for-http-dl-rockylinux-org-pub-sig-latest-altarch-x86-64-altarch-rockyrpi-repodata-repomd-xml/9068 "2023-03-03T01:18:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Hirotodude](https://avatars.discourse-cdn.com/v4/letter/h/6a8cbe/32.png) [@Hirotodude](https://forums.rockylinux.org/u/Hirotodude)
#### Post date: [March 3, 2023, 1:18am UTC](https://forums.rockylinux.org/t/status-code-404-for-http-dl-rockylinux-org-pub-sig-latest-altarch-x86-64-altarch-rockyrpi-repodata-repomd-xml/9068/1 "2023-03-03T01:18:02Z")

</div>

I bumped into a problem below by a phsyical server by Rocky Linux9.1, When I tried to use “yum/dnf update” and "yum/dnf upgrade"commands.

```auto
Status code: 404 for http://dl.rockylinux.org/pub/sig/latest/altarch/x86_64/altarch-rockyrpi/repodata/repomd.xml 

```

Please someone to help me this problem.  
Thank your for your time to read this comment.

1. **The first error below.**

> Rocky Linux latest - BaseOS 38 B/s | 162 B 00:04  
> Errors during downloading metadata for repository ‘baseos’:  
> -Status code: 404 for [https://mirrors.rockylinux.org/mirrorlist?arch=x86\_64&repo=BaseOS-latest](https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-latest) (IP: XXXXXXX)  
> -Status code: 404 for [http://dl.rockylinux.org/pub/rocky/latest/BaseOS/x86\_64/os/repodata/repomd.xml](http://dl.rockylinux.org/pub/rocky/latest/BaseOS/x86_64/os/repodata/repomd.xml) (IP: XXXXXXX)  
> エラー: repo ‘baseos’ のメタデータのダウンロードに失敗しました : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

2.There is a bit similar case below link. So I followed the blow link’s solution. Then I solved one of the error but it is still remains another one.  
[Is a Repo down?](https://forums.rockylinux.org/t/is-a-repo-down/6804/1)

**/etc/yum.repos.d/rocky.repo**

> **Summary**
>
> [baseos]  
> name=Rocky Linux $releasever - BaseOS  
> #mirrorlist=[https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever$rltype](https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever$rltype)  
> #baseurl=[http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/os/](http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/os/)  
> baseurl=[http://dl.rockylinux.org/$sigcontentdir/$releasever/altarch/$basearch/altarch-rockyrpi/](http://dl.rockylinux.org/$sigcontentdir/$releasever/altarch/$basearch/altarch-rockyrpi/)  
> gpgcheck=1  
> enabled=1  
> countme=1  
> metadata\_expire=6h  
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9  
> [baseos-debug]  
> name=Rocky Linux $releasever - BaseOS - Debug  
> mirrorlist=[https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever-debug$rltype](https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever-debug$rltype)  
> #baseurl=[http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/debug/tree/](http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/debug/tree/)  
> gpgcheck=1  
> enabled=0  
> metadata\_expire=6h  
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9  
> [baseos-source]  
> name=Rocky Linux $releasever - BaseOS - Source  
> mirrorlist=[https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=BaseOS-$releasever-source$rltype](https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=BaseOS-$releasever-source$rltype)  
> #baseurl=[http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/source/tree/](http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/source/tree/)  
> gpgcheck=1  
> enabled=0  
> metadata\_expire=6h  
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9  
> [appstream]  
> name=Rocky Linux $releasever - AppStream  
> mirrorlist=[https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever$rltype](https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever$rltype)  
> #baseurl=[http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/os/](http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/os/)  
> gpgcheck=1  
> enabled=1  
> countme=1  
> metadata\_expire=6h  
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9  
> [appstream-debug]  
> name=Rocky Linux $releasever - AppStream - Debug  
> mirrorlist=[https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever-debug$rltype](https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=AppStream-$releasever-debug$rltype)  
> #baseurl=[http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/debug/tree/](http://dl.rockylinux.org/$contentdir/$releasever/AppStream/$basearch/debug/tree/)  
> gpgcheck=1  
> enabled=0  
> metadata\_expire=6h  
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9  
> [appstream-source]  
> name=Rocky Linux $releasever - AppStream - Source  
> mirrorlist=[https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=AppStream-$releasever-source$rltype](https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=AppStream-$releasever-source$rltype)  
> #baseurl=[http://dl.rockylinux.org/$contentdir/$releasever/AppStream/source/tree/](http://dl.rockylinux.org/$contentdir/$releasever/AppStream/source/tree/)  
> gpgcheck=1  
> enabled=0  
> metadata\_expire=6h  
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9  
> [crb]  
> name=Rocky Linux $releasever - CRB  
> mirrorlist=[https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=CRB-$releasever$rltype](https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=CRB-$releasever$rltype)  
> #baseurl=[http://dl.rockylinux.org/$contentdir/$releasever/CRB/$basearch/os/](http://dl.rockylinux.org/$contentdir/$releasever/CRB/$basearch/os/)  
> gpgcheck=1  
> enabled=0  
> countme=1  
> metadata\_expire=6h  
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9  
> [crb-debug]  
> name=Rocky Linux $releasever - CRB - Debug  
> mirrorlist=[https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=CRB-$releasever-debug$rltype](https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=CRB-$releasever-debug$rltype)  
> #baseurl=[http://dl.rockylinux.org/$contentdir/$releasever/CRB/$basearch/debug/tree/](http://dl.rockylinux.org/$contentdir/$releasever/CRB/$basearch/debug/tree/)  
> gpgcheck=1  
> enabled=0  
> metadata\_expire=6h  
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9  
> [crb-source]  
> name=Rocky Linux $releasever - CRB - Source  
> mirrorlist=[https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=CRB-$releasever-source$rltype](https://mirrors.rockylinux.org/mirrorlist?arch=source&repo=CRB-$releasever-source$rltype)  
> #baseurl=[http://dl.rockylinux.org/$contentdir/$releasever/CRB/source/tree/](http://dl.rockylinux.org/$contentdir/$releasever/CRB/source/tree/)  
> gpgcheck=1  
> enabled=0  
> metadata\_expire=6h  
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9

**The second error**

> Rocky Linux latest - BaseOS 141 B/s | 162 B 00:01  
> Errors during downloading metadata for repository ‘baseos’:  
> -Status code: 404 for [http://dl.rockylinux.org/pub/sig/latest/altarch/x86\_64/altarch-rockyrpi/repodata/repomd.xml](http://dl.rockylinux.org/pub/sig/latest/altarch/x86_64/altarch-rockyrpi/repodata/repomd.xml) (IP: XXXXXXX)  
> エラー: repo ‘baseos’ のメタデータのダウンロードに失敗しました : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried  
> It seems solved one of the error. But it is still remains another error.

---

<div class="post-metadata">

### Author: ![label](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@label](https://forums.rockylinux.org/u/label)
#### Post date: [March 3, 2023, 5:43am UTC](https://forums.rockylinux.org/t/status-code-404-for-http-dl-rockylinux-org-pub-sig-latest-altarch-x86-64-altarch-rockyrpi-repodata-repomd-xml/9068/2 "2023-03-03T05:43:55Z")

</div>

There’s two problems I see:

- `altarch-*` repos are not for x86\_64 - they are for aarch64 currently. That will always 404.
- `$releasever` is being set to `latest` on your system - where are you settings this?

I would remove the rocky-release-altarch and rocky-release-rpi and then address why your system is using “latest” instead of a version number (which should be 9).

---

<div class="post-metadata">

### Author: ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)
#### Post date: [August 25, 2023, 3:23am UTC](https://forums.rockylinux.org/t/status-code-404-for-http-dl-rockylinux-org-pub-sig-latest-altarch-x86-64-altarch-rockyrpi-repodata-repomd-xml/9068/3 "2023-08-25T03:23:06Z")

</div>


