Error running sudo dnf update

Since I updated to fedora 38 I always get a error when I run sudo dnf update.

Error:
Problem: package kernel-modules-core-6.2.14-200.fc37.x86_64 requires kernel-uname-r = 6.2.14-200.fc37.x86_64, but none of the providers can be installed

  • conflicting requests
    (try to add ‘–skip-broken’ to skip uninstallable packages)

Thanks for your help

This is the same issue as Cant install kernel package - #2 by alciregi

The problem occurs because kernel-6.2.14 isn’t available in the repos anymore.
You can solve the issue by removing previous (unused) kernel-core and kernel-modules packages.

So, in your case, start with sudo dnf remove kernel-modules-core-6.2.14

Unfortunately its not the same. If I run the command I get the output `nothing to do´.

Maybe this output helps :
Problem: package kernel-modules-core-6.2.14-200.fc37.x86_64 requires kernel-uname-r = 6.2.14-200.fc37.x86_64, but none of the providers can be installed

  • conflicting requests

Or am I overlooking something?

I had a typo in the above command, the package is called kernel-modules-core-6.2.14, and not kernel-module-core-6.2.14. I’ll fix the typo by editing my previous post.

Remove it and dnf won’t try to pull in kernel-6.2.14-200.fc37.x86_64

You should also be able to solve the issue if you allow dnf to remove packages with unmet dependencies:

sudo dnf update --allowerasing
1 Like