I have errors with Nvidia drivers when using `sudo akmods --force`, `sudo dnf install nvidia-driver kernel-devel akmod-nvidia` and on startup I get `fedora nvidia kernel module missing falling back to nouveau`

when I enter the terminal sudo akmods --force I get a failed string:

directories are missing:
/usr/src/kernels/6.0.8-xm1.0.fc38.x86_64/
/lib/modules/6.0.8-xm1.0.fc38.x86_64/build/Is the correct kernel-devel package installed?

when i ender the terminal sudo dnf install nvidia-driver kernel-devel akmod-nvidia I get a failed string :

Problem: 
 Problem: Problem with xorg-x11-drv-nvidia-power-3: 545.29.06-2.fc39.x86_64 installed
  - Package xorg-x11-drv-nvidia-power-3:545.29.06-2.fc39.x86_64 from @System requires xorg-x11-drv-nvidia(x86-64) = 3:545.29.06, but neither vendor can be installed
  - Package xorg-x11-drv-nvidia-power-3:545.29.06-2.fc39.x86_64 from rpmfusion-nonfree-nvidia-driver requires xorg-x11-drv-nvidia(x86-64) = 3:545.29.06, but neither supplier can be installed
  - Package xorg-x11-drv-nvidia-power-3:545.29.06-2.fc39.x86_64 from rpmfusion-nonfree-updates requires xorg-x11-drv-nvidia(x86-64) = 3:545.29.06, but neither vendor can be installed
  - package nvidia-driver-3:550.54.14-1.fc39.x86_64 from cuda-fedora39-x86_64 conflicts with xorg-x11-drv-nvidia, provided by xorg-x11-drv-nvidia-3:545.29.06-2.
  - package nvidia-driver-3:550.54.14-1.fc39.x86_64 from cuda-fedora39-x86_64 obsoletes xorg-x11-drv-nvidia, provided by xorg-x11-drv-nvidia-3:545.29.06-2.fc39.x86_64 of @System
  - Package xorg-x11-drv-nvidia-power-3:535.129.03-2.fc39.x86_64 from rpmfusion-nonfree requires xorg-x11-drv-nvidia(x86-64) = 3:535.129.03, but none of the providers can be installed
  - Android
  - xorg-x11-drv-nvidia-3:535.129.03-2.fc39.x86_64 from rpmfusion-nonfree is filtered by modular filtering
  - Package xorg-x11-drv-nvidia-3:545.29.06-2.fc39.x86_64 from rpmfusion-nonfree-nvidia-driver is filtered with modular filtering
  - xorg-x11-drv-nvidia-3:545.29.06-2.fc39.x86_64 from rpmfusion-nonfree-updates is filtered with modular filtering
(try adding «-allowerasing» to the command line to replace conflicting packages or «-skip-broken» to skip deleted packages)

duplicate of I have mistakes in "sudo akmods --force" and "sudo dnf install nvidia-driver kernel-devel akmod-nvidia"

closing