When attempting to see the updates tab in the software center, I receive the error message shown in the attached image. These problems started occurring after I installed the NVIDIA driver + Control Panel using the commands shown here: [ Howto/NVIDIA - RPM Fusion ] It’s worth noting that I first tried to install them from the software center automatically first, but then uninstalled them because they did not work.
Additionally, this error message occasionally appears when I log in to my account. I’m not really sure what determines whether or not it appears, but I know it’s related to the NVIDIA drivers and I know that it started happening at the same time as the store problem.
I have also checked the directory [ /etc/dnf/protected.d ] to see if “kernel” was listed as protected, but it was not. I’m really not sure why [ dnf update ] fails as shown.
1741381 – DNF wants to remove kernel-core suggest that you try: ‘sudo dnf mark install kernel kernel-modules’ that would tell dnf that you specifically had, as a user, requested the kernel and kernel-modules packages, so that solutions it find, should keep them.
Unfortunately, the command [ dnf distro-sync ] returns the same “would remove the kernel” error as the others. I tried [ sudo dnf mark install kernel kernel-modules ] as well, and the command completed successfully, but made no difference in the result of [ dnf update ] or [ dnf distro-sync ].
Same result as [ sudo dnf mark install kernel kernel-modules ].
A side note, I can still install and remove packages from the store, I just can’t check for updates. I’ve also tried completely removing and reinstalling all NVIDIA-related packages, but to no effect.
I just tried both [ dnf clean all ] and [ sudo rpm --rebuilddb ], but the terminal shows the same error. After running [ sudo dnf repoquery --unsatisfied ] with the [ --verbose ] option added to the end, I got this:
I tried both commands, but the repoquery gave the same result and the system still won’t update. I’m thinking I may need to completely remove and replace the [ fedora-updates-modular.repo ] file in the [ /etc/yum.repos.d ] folder. How would I go about safely doing so?
I’d like to know the output of “sudo dnf repoquery --whatconflicts kernel-core”.
To safely deactivate some repositories, I think I would launch gnome-software, in upper-right click the icon with horizontal lines, click software repositories, and deactivate one/some repositories. So that you could easily re-“Enable” them later.