DNF Check problem: conflicting requests

I’m getting this error when running DNF Check

Modular dependency problem:

Problem: conflicting requests

  • nothing provides module(platform:f35) needed by module nodejs:12:3520220113124632:f27b74a8.x86_64

I’m running Fedora 36, not 35. Not sure what I can do to resolve or if it’s even necessary. I’m not super strong on Linux, just a user trying to get up to speed.

Hi,
what shows

dnf repoquery --deplist nodejs:12:3520220113124632:f27b74a8.x86_64

EDIT: You can also limit it to installed packages

dnf repoquery --deplist --installed nodejs:12:3520220113124632:f27b74a8.x86_64

If I run that command (the first one) I get

$ dnf check

Modular dependency problem:

Problem: conflicting requests

  • nothing provides module(platform:f35) needed by module nodejs:12:3520220113124632:f27b74a8.x86_64

EDIT: the “f35” confuses me, almost looks like an artifact from Fedora 35.

sudo dnf module list

show anything regarding nodejs?

So I ran it and it dumps a lot of info, this stood out

You’ll want to disable the module for nodejs.
sudo dnf module disable nodejs

Since no complete inputs and outputs can be seen and thus the queried information can only be partially interpreted, I would tend to remove the unresolvable dependencies.
DNF will not remove anything that is still needed.

sudo dnf autoremove

So I ran Joe’s “sudo dnf module disable nodejs” before I saw your comment. After running it, dnf check showed no errors.

Then I saw your comment and tried it. It found and removed some stuff much of which seemed related to Fedora 35. Anyway, all seems well, I just don’t know if ‘nodejs’ is something I need to try and renable or not? Regardless, thanks to you and Joe for the help.

Then set it to solved if the problem is solved. Just set the checkmark at the answer that is useful for you.

You don’t have to do this, but it is part of the good tone in a forum to find the solution faster when searching for other users.

You can get nodejs from the regular fedora repository, so it would be a good idea to just disable the modular repos

sudo dnf config-manager --disable updates-modular fedora-modular

The modular repository was something that seemed like a good idea at the time, but turns out not to be such a good idea. You have alread seen what conflicts it can cause.

nodejs is mainly for doing serious javascript development.

That package names shows “fc35” does not necessarily mean they were left over from Fedora 35. There are about 500 packages in the Fedlra36 repositories with “fc35” in the name.

Thanks for the detail and explanation.