kernel not updating

If it was disabled, a reinstall of kernel packages would have failed
Oh oke I thought this could be reinstalled from the cache.

Then I don't understand why it's not updating at all since the yum clean all etc. also did not help and it's exactly the same version Alma as I also have and probably you too.

Very odd this.
 
I have the problem in the past.... the issued cause by some mirror site not sync with latest version.

Then I just execute this command in multiple times.
Code:
dns makecache --refresh && dnf list --upgrades kernel


Or force change the mirror server to other region ( I don't know how to do this ).
 
Thanks Ohm.
Unfortunately the command did not solve the problem.
Good idea to try to change the mirror to another region. I will try to figure out how to do that
 
Sure you don't have kernel updates excluded in the repos by any chance? I once dropped an 'exclude=kernel*' in a yum.conf because a specific kernel wouldn't boot on xenserver. Totally forgot about that. Didn't have kernel updates for a year :)
 
Again, excuse my ignorance here on Alma Linux, I really need to spin up a few AL, Rocky and the like VMs to play with, (Ubuntu & Debian are my go tos) but with Ubuntu, I occasionally get the error when i'm trying to update a kernel or a package, that it's being held back. Reason for this is there may be dependencies it needs to update first, but it refuses to update, even though it's showing in the repos. Is this something that may be happening?
 
not getting any errors - yum and dnf just say
[root@host5 ~]# dnf update
Last metadata expiration check: 0:32:06 ago on Sat 01 Nov 2025 01:24:29 PM EDT.
Dependencies resolved.
Nothing to do.
 
If I'm being frank and honest here @Audrey , with everything you've tried here following the advice of many members, If nobody else has a fix for you, I'd advise maybe opening a ticket to DA to investigate, although i'm not sure if they'd indulge as it's an OS level problem rather than a DA problem. I know @zEitEr would take a look and potentially provide a resolution for you, but this would be a private paid transaction between the two of you. I'm sorry I'm unable to give you any more suggestions.
 
Totally forgot about that.
LoL, check post #32. :)

Good idea to try to change the mirror to another region. I will try to figure out how to do that
Well first you have to know which region it's using now. But since we're having good results, most likely a European region would work. It was something I was just thinking of too this evening of that would be an option.

You have to (temporarily) hardcode the mirror because they use geo location for the mirrors.

If you check the /etc/yum.repost.d you will find the almalinux-baseos.repo.
In there you will find the default list which is:
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/baseos
Now put a # in front of that, and add this line:
mirrorlist=https://eu.edge.kernel.org/almalinux/9.6/BaseOS/$basearch/os/

Or choose one of the others mentioned here:

Transip or leaseweb shoult also be very good for example.

As you can see the 9.6 is hardcoded now, so remember this will -only- be for 9.6 at the moment, so remember to switch back to the original line later on when the next kernel is released or when you're switching to Alma 9.7 for example.

Issue the yum clean all and then yum check update again and you should be able to find and install the new kernel.
 
Back
Top