Something seems to have gone wrong when using ‘dnf upgrade’ to kenerl 6.12.4-100; after the reboot the kernel could not load because no initramfs-6.12.4.100.fc4.x86_64.img was in /boot.
Managed to fix that by booting to the previous 6.11.11-200 version and used dracut to create the initrd file allowed me to boot the newer kernel but building the nvidia driver for that seems to fail.
I noticed there is a new akmod-nvdidia-3:565.77-1.fc40.x86_64 available but i can’t install it as it requires nvidia-kmod-common >= 3:565.77 but no provider for that is found in the repositories i have enabled.
Can anyone tell me which repository provides that dependency or is that currently a broken dependency and missing for fc40 repos?
Please show us the exact messages from the initial command to the end that you see when the installation fails.
An upgrade like that should first be preceded by sudo dnf upgrade --refresh
. After that has successfully completed install the drivers with sudo dnf install akmod-nvidia
.
The messages we need are everything that appears on-screen from the last command above and can be copied and pasted here. On-screen formatting is maintained by first pasting the text then highlight it and click the </>
button labeled ‘preformatted text’ on the tool bar.
Not sure what help the output of dnf is to answer my question which repository should provide nvidia-kmod-common >= 3:565.77 but here you go:
dnf upgrade --refresh --best akmod-nvidia
cuda-fedora40-x86_64 12 kB/s | 3.5 kB 00:00
Fedora 40 - x86_64 41 kB/s | 27 kB 00:00
Fedora 40 openh264 (From Cisco) - x86_64 3.7 kB/s | 989 B 00:00
Fedora 40 - x86_64 - Updates 180 kB/s | 25 kB 00:00
Fortinet CentOS 7 repository 4.2 kB/s | 3.0 kB 00:00
created by dnf config-manager from https://rpm.librewolf.net 16 kB/s | 3.0 kB 00:00
RPM Fusion for Fedora 40 - Free 43 kB/s | 7.8 kB 00:00
RPM Fusion for Fedora 40 - Free - Updates 11 kB/s | 7.3 kB 00:00
RPM Fusion for Fedora 40 - Nonfree 15 kB/s | 8.5 kB 00:00
RPM Fusion for Fedora 40 - Nonfree - Updates 49 kB/s | 7.9 kB 00:00
teams 4.1 kB/s | 1.5 kB 00:00
Fedora 40 - x86_64 - VirtualBox 2.6 kB/s | 819 B 00:00
Fehler:
Problem: package akmod-nvidia-3:565.77-1.fc40.x86_64 from rpmfusion-nonfree-updates requires nvidia-kmod-common >= 3:565.77, but none of the providers can be installed
- Installation des besten Update-Kandidaten nicht möglich für das Paket akmod-nvidia-3:550.67-1.fc40.x86_64
- package xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
(Versuchen Sie '--skip-broken' zur Befehlszeile hinzuzufügen, um nicht-installierbare Pakete zu überspringen)
This seems the key to your problem.
Have you installed software from the cuda-fedora40-x86-64 repo? If so that often gives the result indicated.
to eliminate the conflicts there are a couple steps.
- Identify any packages installed from the cuda-fedora repo.
dnf list installed | grep cuda-fedora
- Once you see the packages currently installed from there (if any) remove them.
sudo dnf remove <package name>
- Disable any enabled modules.
sudo dnf module list --enabled
to see what may be enabled.
sudo dnf module disable nvidia-driver
to disable the most common module that causes this error. If others are shown with the list command then disable them as well. - Disable the cuda-fedora40-x86_64 repo.
sudo dnf config-manager --set-disabled cuda-fedora40-x86_64
- Now upgrade the nvidia drivers with
dnf upgrade akmod-nvidia
Note that it is extremely common for packages installed from one of the cuda-fedora repos to cause this type of conflict with packages from rpmfusion.
Turns out i indeed had the three modules kmod-nvidia-latest-dkms.x86_64 nvidia-kmod-commmon.noarch nvidia-modprobe.x86_64 installed from cuda-fedora.
Removing those and disabling the nvidia-driver module and cuda-fedora allowed me to finally install akmod-nvidia = 3:565.77-1.fc40.
Now i can see nvidia-kmod-common 3:565.77 is provided by xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 in rpmfusion-nonfree-updates which seems to have been filtered out before.
dnf provides nvidia-kmod-common
Letzte Prüfung auf abgelaufene Metadaten: vor 0:18:41 am Mi 18 Dez 2024 23:26:04 CET.
xorg-x11-drv-nvidia-3:550.67-1.fc40.x86_64 : NVIDIA's proprietary display driver for NVIDIA graphic cards
Paketquelle : rpmfusion-nonfree
Übereinstimmung von:
Bereitstellen : nvidia-kmod-common = 3:550.67
xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 : NVIDIA's proprietary display driver for NVIDIA graphic cards
Paketquelle : @System
Übereinstimmung von:
Bereitstellen : nvidia-kmod-common = 3:565.77
xorg-x11-drv-nvidia-3:565.77-3.fc40.x86_64 : NVIDIA's proprietary display driver for NVIDIA graphic cards
Paketquelle : rpmfusion-nonfree-updates
Übereinstimmung von:
Bereitstellen : nvidia-kmod-common = 3:565.77
Seems to work properly now, thank you for the help wrangling the nvidia mess.