Fedora 41 update failure

Hi All,

I started using Fedora approx. 6 months ago and have been loving the experience so far! However, over the last 2 weeks I have been experiencing an issue with the Gnome Software manager being unable to install updates. Gnome software states that 8 updates are available, but when I click on ‘update all’, none of the updates are performed and it continues to show that 8 updates are available.

I have tried to update via terminal using sudo dnf update but this results in the following output:

Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem 1: installed package kernel-modules-extra-6.11.6-300.fc41.x86_64 requires kernel-uname-r = 6.11.6-300.fc41.x86_64, but none of the providers can be installed - conflicting requests
Problem 2: installed package kernel-6.11.6-300.fc41.x86_64 requires kernel-modules-uname-r = 6.11.6-300.fc41.x86_64, but none of the providers can be installed conflicting requests

I have performed sudo dnf clean all which gave me this output: Removed 58 files, 35 directories. 0 errors occurred.

I also did sudo dnf check and this resulted in: Check discovered 104 problem(s) in 103 package(s)

I then tried to remove duplicates via sudo dnf remove --duplicates but this gave the following message: Unknown argument “–duplicates” for command “remove”. Add “–help” for more information about the arguments.

I am relatively new to Fedora / Linux in general and am unsure how to resolve the issues I am experiencing.

If anyone has any input, I would be most grateful!

Thanks in advance!

A general way of resolving package conflicts is to remove one or the other of the conflicting packages (sometimes you cannot have both and you just have to pick one).

It is unusual to have problems with the kernel packages, however. What other packages are specifically requiring kernel 6.11.6-300.fc41? Fedora 41 should have 6.12 kernels available now. Are those on your system? If so, you should be able to remove the 6.11 kernel that is causing problems.

What does rpm -q kernel show?

Thanks for the quick reply! It seems that the 6.12 kernels are not installed on my system. Running rpm -q kernel shows the following:
kernel-6.11.5-300.fc41.x86_64
kernel-6.11.6-300.fc41.x86_64
kernel-6.11.8-300.fc41.x86_64

So are you currently using the 6.11.6 kernel? What does uname -r show?

uname -r shows: 6.11.8-300.fc41.x86_64

OK. Since you have a newer kernel and you are not actively using the older kernel, I’d try manually removing the older kernel. Watch for it to list what “dependent” programs will be removed along with the kernel packages. There shouldn’t be any, but your update transaction seems to indicate otherwise. If there are dependent programs that you want to keep, then cancel the transaction by answering n.

Try sudo dnf remove kernel-core-6.11.6-300.fc41.x86_64.

1 Like

Thank you! This command did not list any ‘dependent programs’ so I have executed is and removed the older kernel. Can I now try to run sudo dnf udate or is there anything else I should do first? Appreciate all the input!

Yes, you should now be able to (successfully) run sudo dnf update.

Brilliant, this worked! Removing kernel-core-6.11.6-300.fc41.x86_64 solved the issue and I was able to perform all updates. I am now also on 6.12 kernels.

I have marked your input as the solution. Thanks so much!

2 Likes