# Kernel , kernel devel and kernel headers are mismatch

**URL:** <https://forums.rockylinux.org/t/kernel-kernel-devel-and-kernel-headers-are-mismatch/18863>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [June 19, 2025, 2:06pm UTC](https://forums.rockylinux.org/t/kernel-kernel-devel-and-kernel-headers-are-mismatch/18863 "2025-06-19T14:06:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [June 19, 2025, 3:13pm UTC](https://forums.rockylinux.org/t/kernel-kernel-devel-and-kernel-headers-are-mismatch/18863/6 "2025-06-19T15:13:01Z")

</div>

I see what’s happening. We released updates at 07:00 GMT and not all mirrors have synced yet. And from what I can see, the mirrors you’re connecting are not completely in sync… For example your appstream mirror is correct but your baseos repo isn’t.

I would try to dnf clean all and dnf update again and see if you can catch mirrors that have synced. Alternatively, you can change `/etc/yum.repos.d/rocky.repo` under `[baseos]`, `[appstream]`, and `[crb]` to use the baseurl instead of mirrorlist. Example:

```auto
[baseos]
name=Rocky Linux $releasever - BaseOS
#mirrorlist=https://mirrors.rockylinux.org/mirrorlist?arch=$basearch&repo=BaseOS-$releasever$rltype
baseurl=http://dl.rockylinux.org/$contentdir/$releasever/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
countme=1
metadata_expire=6h
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9

```

---

_[View the full topic](https://forums.rockylinux.org/t/kernel-kernel-devel-and-kernel-headers-are-mismatch/18863)._
