Nvidia drivers dependencies problem; fedora39

Latest akmod-nvidia update has dependencies conflicting with qubes:

Last metadata expiration check: 1:15:29 ago on Wed Jul 31 08:58:41 2024.                                                                                                                       
Dependencies resolved.                                                                                                                                                                         
                                                                                                                                                                                               
 Problem 1: package xorg-x11-drv-nvidia-3:555.58.02-1.fc39.x86_64 from rpmfusion-nonfree-updates requires /usr/sbin/grubby, but none of the providers can be installed                         
  - installed package grubby-dummy-9.0.0-4.fc39.noarch obsoletes grubby < 9.0.0 provided by grubby-8.40-72.fc39.x86_64 from fedora                                                             
  - installed package grubby-dummy-9.0.0-4.fc39.noarch obsoletes grubby < 9.0.0 provided by grubby-8.40-73.fc39.x86_64 from updates                                                            
  - package sdubby-1.0-7.fc39.noarch from updates conflicts with grubby provided by grubby-dummy-9.0.0-4.fc39.noarch from @System                                                              
  - package grub2-common-1:2.06-121.fc39.noarch from @System conflicts with grubby < 8.40-18 provided by sdubby-1.0-4.fc39.noarch from fedora                                                  
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-3:550.90.07-1.fc39.x86_64                                                                                         
  - cannot install the best update candidate for package grubby-dummy-9.0.0-4.fc39.noarch                                                                                                      
  - cannot install the best update candidate for package grub2-common-1:2.06-121.fc39.noarch                                                                                                   
 Problem 2: problem with installed package grubby-dummy-9.0.0-4.fc39.noarch                                                                                                                    
  - package sdubby-1.0-4.fc39.noarch from fedora conflicts with grubby provided by grubby-dummy-9.0.0-4.fc39.noarch from @System                                                               
  - package sdubby-1.0-4.fc39.noarch from fedora conflicts with grubby provided by grubby-dummy-9.0.0-4.fc39.noarch from qubes-vm-r4.2-current                                                 
  - package xorg-x11-drv-nvidia-3:555.58.02-1.fc39.x86_64 from rpmfusion-nonfree-updates requires /usr/sbin/grubby, but none of the providers can be installed                                 
  - package grubby-dummy-9.0.0-4.fc39.noarch from qubes-vm-r4.2-current obsoletes grubby < 9.0.0 provided by grubby-8.40-72.fc39.x86_64 from fedora                                            
  - package grubby-dummy-9.0.0-4.fc39.noarch from qubes-vm-r4.2-current obsoletes grubby < 9.0.0 provided by grubby-8.40-73.fc39.x86_64 from updates                                           
  - package sdubby-1.0-7.fc39.noarch from updates conflicts with grubby provided by grubby-dummy-9.0.0-4.fc39.noarch from qubes-vm-r4.2-current
  - installed package grubby-dummy-9.0.0-4.fc39.noarch obsoletes grubby < 9.0.0 provided by grubby-8.40-72.fc39.x86_64 from fedora
  - installed package grubby-dummy-9.0.0-4.fc39.noarch obsoletes grubby < 9.0.0 provided by grubby-8.40-73.fc39.x86_64 from updates
  - package sdubby-1.0-7.fc39.noarch from updates conflicts with grubby provided by grubby-dummy-9.0.0-4.fc39.noarch from @System
  - package akmod-nvidia-3:555.58.02-1.fc39.x86_64 from rpmfusion-nonfree-updates requires nvidia-kmod-common >= 3:555.58.02, but none of the providers can be installed
  - cannot install the best update candidate for package akmod-nvidia-3:550.90.07-1.fc39.x86_64
===============================================================================================================================================================================================
 Package                                         Architecture                       Version                                        Repository                                             Size
===============================================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 sdubby                                          noarch                             1.0-4.fc39                                     fedora                                                 18 k
 sdubby                                          noarch                             1.0-7.fc39                                     updates                                                18 k
Skipping packages with broken dependencies:
 akmod-nvidia                                    x86_64                             3:555.58.02-1.fc39                             rpmfusion-nonfree-updates                              40 k
 xorg-x11-drv-nvidia                             x86_64                             3:555.58.02-1.fc39                             rpmfusion-nonfree-updates                             126 M

Transaction Summary
===============================================================================================================================================================================================
Skip  4 Packages

Nothing to do.
Complete!

What can be done?

p.s. nouveau is great, but doesn’t support all features (yet).

You can try to use fedora-40 template for a test.

You can also report this issue on github to update the grubby-dummy package or try to resolve the conflict.