I just recently switched graphics driver from nvidia to amd. When I switched, I just removed all the nvidia packages and everything works fine (after I found that I had to add some vulkan stuff.)
With today’s update, it wants to (re)-add the kernel-firmware-nvidia package. Is this correct, or do I need to do something? Thanks.
This is because in a default installation you get kernel-firmware-all, which in turn recommends (soft-require) kernel-firmware-nvidia. If there’s a new version published it will bring back as a recommendation.
There’s a few ways to handle this:
Remove kernel-firmware-all (and just that, specific firmwares will be kept)
Disable installation of new recommended packages
sudo zypper addlock kernel-firmware-nvidia
I have done both 1 and 2, and prefer to run sudo zypper inr --no-recommends to restrict to packages zypper thinks the system needs to support hardware.
It is as awerlang said, being installed as a result of “kernel-firmware-all”. You probably have several (many?) firmware packages that are not required by your existing hardware.