Discover config

Hello all,
I have a 1060 nvidia graphics card, witch needs a 580xx driver but each time discover tells me there are updates it wants to delete the driver as well, I dried editing the dnf.conf file but It must be ignoring it as it keeps wanting to delete dthe driver. Can anywone help me stop discover wanting to delete the driver? I can do the update via konsole while excluding nvidia
With the command:

sudo dnf update --refresh --setopt=excludepkgs=nvidia*

It is expected that a kmod-nvidia will be removed when the kernel it was built for is removed. Is that what you are seeing?

What does rpm -qa | grep -i nvidia report on your system?

I don’t understand the kernel part, but I ran the command and got :

nvidia-gpu-firmware-20260622-1.fc44.noarch
libva-nvidia-driver-0.0.17-1.fc44.x86_64
libva-nvidia-driver-0.0.17-1.fc44.i686
nvidia-modprobe-610.43.03-1.fc44.x86_64
nvidia-persistenced-610.43.03-2.fc44.x86_64
xorg-x11-drv-nvidia-580xx-kmodsrc-580.173.02-1.fc44.x86_64
xorg-x11-drv-nvidia-580xx-cuda-libs-580.173.02-1.fc44.x86_64
xorg-x11-drv-nvidia-580xx-libs-580.173.02-1.fc44.i686
xorg-x11-drv-nvidia-580xx-libs-580.173.02-1.fc44.x86_64
xorg-x11-drv-nvidia-580xx-cuda-libs-580.173.02-1.fc44.i686
xorg-x11-drv-nvidia-580xx-cuda-580.173.02-1.fc44.x86_64
xorg-x11-drv-nvidia-580xx-580.173.02-1.fc44.x86_64
akmod-nvidia-580xx-580.173.02-1.fc44.x86_64
nvidia-settings-580xx-580.173.02-1.fc44.x86_64
xorg-x11-drv-nvidia-580xx-power-580.173.02-1.fc44.x86_64
kmod-nvidia-580xx-7.1.5-201.fc44.x86_64-580.173.02-1.fc44.x86_64
kmod-nvidia-580xx-7.1.6-201.fc44.x86_64-580.173.02-1.fc44.x86_64
kmod-nvidia-580xx-7.1.7-200.fc44.x86_64-580.173.02-1.fc44.x86_64

When you next upgrade your system the oldest kernel and the matching kmod will be removed. The next kernel will be the 7.1.8 and you will, correctly, see kmod-nvidia-580xx-7.1.5-201.fc44.x86_64-580.173.02-1.fc44.x86_64 being remove.

The other nvidia-580xx packages will be left as is or upgraded to newer versions.

I don’t get it. What should I do?

I do not think you are seeing a problem.
You are seeing the system do an upgrade that is exactly what is expected.

You can try now with a sudo dnf update --refresh and see what it says it will do. Answer no if you think the update is going to do something bad and post the output here for us to review.

Seeing a kmod-nvidia being removed is expected.

This shows the nvidia drivers for the currently installed kernels.
Each kernel upgrade will build a new kmod-nvidia for the new kernel and remove the older one for the kernel that is being removed.
This is normal and should always be expected.

The advice by @barryascott above is 100% correct. As long as you only see the kmod-nvidia package as the only nvidia package being removed this is normal and should be expected. Every other nvidia package should only be upgraded and never removed when doing a routine update. You probably do not want to use that exclude portion of the dnf update command as a routine upgrade.

So I did the update normally, and It is still using the nvidia driver.