# Updating of Kernal packages in rocky 9.2

**URL:** <https://forums.rockylinux.org/t/updating-of-kernal-packages-in-rocky-9-2/15453>\
**Category:** Rocky Linux Help & Support\
**Tags:** unsupported, rocky-linux-9\
**Created:** [August 14, 2024, 7:53am UTC](https://forums.rockylinux.org/t/updating-of-kernal-packages-in-rocky-9-2/15453 "2024-08-14T07:53:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HairulMisni](https://avatars.discourse-cdn.com/v4/letter/h/a3d4f5/32.png) [@HairulMisni](https://forums.rockylinux.org/u/HairulMisni)\
**Post date:** [August 14, 2024, 7:53am UTC](https://forums.rockylinux.org/t/updating-of-kernal-packages-in-rocky-9-2/15453/1 "2024-08-14T07:53:38Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/2X/7/745405e6d4aed78054f945e4e2a21a31c9b70bf8.png)

Hi Support,

Im doing manual updating for my rocky 9.2 server that has no internet access as its in an air gapped environment.

I bumped into this issue that to update the kernel-5.14.0-427.28.1.el9\_4.x86\_64, it need dependencies: kernel-modules-uname-r, kernel-modules-core-uname-r, kernel-uname-r.

i look into Rocky 9.4 repo vault, there isnt any of these RPMs in the list.

Seek help on how do i address this? what should i do?

---

<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:** [August 14, 2024, 8:01am UTC](https://forums.rockylinux.org/t/updating-of-kernal-packages-in-rocky-9-2/15453/2 "2024-08-14T08:01:30Z")

</div>

Rocky Linux 9.2 is not supported.

Please see our [version policy](https://wiki.rockylinux.org/rocky/version/) for more information.

> [@HairulMisni](#):
>
> Im doing manual updating for my rocky 9.2 server that has no internet access as its in an air gapped environment.
> 
> I bumped into this issue that to update the kernel-5.14.0-427.28.1.el9\_4.x86\_64, it need dependencies: kernel-modules-uname-r, kernel-modules-core-uname-r, kernel-uname-r.

Are you doing a full update or are you cherry picking packages? I ask because it appears you are attempting to cherry pick kernel updates which is not supported nor recommended.

Your output clearly states that a higher version of systemd is required, also, which is hinting to me you are cherry picking updates. **This is not supported.**

> [@HairulMisni](#):
>
> Seek help on how do i address this? what should i do?

You are recommended to do a full sync of `baseos`, `appstream`, `extras` at a minimum (`crb` is optional, but recommended) into your air gapped environment and do a full `dnf update`.

---

<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:** [August 14, 2024, 8:20am UTC](https://forums.rockylinux.org/t/updating-of-kernal-packages-in-rocky-9-2/15453/3 "2024-08-14T08:20:02Z")

</div>

> [@HairulMisni](#):
>
> i look into Rocky 9.4 repo vault, there isnt any of these RPMs in the list.

A package _provides_ files and features. A package may require other packages, files, and/or features.

`dnf provides kernel-uname-r` gives a long list of packages.  
Likewise `dnf rq --provides kernel-core-5.14.0-427.28.1.el9_4.x86_64`  
and `dnf rq --list kernel-core-5.14.0-427.28.1.el9_4.x86_64`  
Show features and files, respectively, that are in that package.

```auto
# dnf -q rq --provides kernel-core-5.14.0-427.28.1.el9_4.x86_64 | grep kernel-uname-r
kernel-uname-r = 5.14.0-427.28.1.el9_4.x86_64

```

---

<div class="post-metadata">

**Author:** ![sweh](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/sweh/32/1287_2.png) [@sweh](https://forums.rockylinux.org/u/sweh)\
**Post date:** [August 15, 2024, 12:48am UTC](https://forums.rockylinux.org/t/updating-of-kernal-packages-in-rocky-9-2/15453/4 "2024-08-15T00:48:24Z")

</div>

So you say “air gapped”. This is your problem. RedHat (and thus Rocky et al) is not designed to be updated on a package by package basis. That’s because their are dependencies; package A may depend on B,C,D; package B may depend on X,Y,Z and so on.

Working out this whole chain of dependencies is what `yum` (or `dnf`) does for you.

My recommendation is to _mirror_ upstream repo into your air-gapped environment and point your machines to that mirror. Then a normal `yum update` will work.

If you’re trying to stay at “9.2” for some reason, then you’re going to fail. Security updates only get released for “current version” and because of the dependency chain you might as well update to “latest”.

If you _really_ need to stay at an older version then you should pay for RedHat support, who can handle this.

---

<div class="post-metadata">

**Author:** ![HairulMisni](https://avatars.discourse-cdn.com/v4/letter/h/a3d4f5/32.png) [@HairulMisni](https://forums.rockylinux.org/u/HairulMisni)\
**Post date:** [August 16, 2024, 3:03pm UTC](https://forums.rockylinux.org/t/updating-of-kernal-packages-in-rocky-9-2/15453/5 "2024-08-16T15:03:31Z")

</div>

Hi All, after much discussion, i need to upgrade my rocky linux 9.2 to rocky 9.4 but still i cant have internet connection connected to my rocky linux. and ive been searching… it seems to be very technical. im still new to rocky and am learning everytime i have the opportunity.

question: is there a guide for me to refer or someone can explain in how to upgrade my rocky 9.2 to 9.4. i greatly appreciate it.

---

<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:** [October 15, 2024, 3:03pm UTC](https://forums.rockylinux.org/t/updating-of-kernal-packages-in-rocky-9-2/15453/6 "2024-10-15T15:03:39Z")

</div>

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