Unable to install nvidia proprietary drivers

Following this guide

After preliminary installs, when i run
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda

I get

Error: 
 Problem: The operation would result in removing the following protected packages: systemd, systemd-udev
(try to add '--skip-broken' to skip uninstallable packages)

Edit: inxi output

System:
  Kernel: 6.3.5-200.fc38.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.39-9.fc38 Desktop: GNOME v: 44.1 Distro: Fedora release 38 (Thirty
    Eight)
Machine:
  Type: Laptop System: Apple product: MacBook6,1 v: 1.0
    serial: <superuser required>
  Mobo: Apple model: Mac-F22C8AC8 serial: <superuser required> UEFI: Apple
    v: MB61.88Z.00C8.B00.0908271503 date: 08/27/09
Battery:
  ID-1: BAT0 charge: 30.2 Wh (55.9%) condition: 54.0/59.4 Wh (90.8%)
    volts: 11.2 min: 10.9 model: SMP bq20z451 status: discharging
CPU:
  Info: dual core model: Intel Core2 Duo P7550 bits: 64 type: MCP arch: Penryn
    rev: A cache: L1: 128 KiB L2: 3 MiB
  Speed (MHz): avg: 1111 high: 1424 min/max: 798/2261 cores: 1: 798 2: 1424
    bogomips: 9021
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx
Graphics:
  Device-1: NVIDIA C79 [GeForce 9400M] vendor: Apple driver: nouveau v: kernel
    arch: Tesla bus-ID: 02:00.0 temp: 65.0 C
  Device-2: Apple Built-in iSight driver: uvcvideo type: USB bus-ID: 2-4:2
  Display: wayland server: X.Org v: 22.1.9 with: Xwayland v: 22.1.9
    compositor: gnome-shell driver: dri: nouveau gpu: nouveau
    resolution: 1280x800~60Hz
  API: OpenGL v: 3.3 Mesa 23.1.1 renderer: NVAC direct-render: Yes
Audio:
  Device-1: NVIDIA MCP79 High Definition Audio driver: snd_hda_intel v: kernel
    bus-ID: 00:08.0
  API: ALSA v: k6.3.5-200.fc38.x86_64 status: kernel-api
  Server-1: PipeWire v: 0.3.71 status: active
Network:
  Device-1: NVIDIA MCP79 Ethernet driver: forcedeth v: kernel port: 21e0
    bus-ID: 00:0a.0
  IF: enp0s10 state: down mac: <filter>
  Device-2: Broadcom BCM43224 802.11a/b/g/n vendor: Apple AirPort Extreme
    driver: bcma-pci-bridge v: N/A bus-ID: 03:00.0
  IF-ID-1: wlp3s0b1 state: up mac: <filter>
Drives:
  Local Storage: total: 298.09 GiB used: 5.94 GiB (2.0%)
  ID-1: /dev/sda vendor: Hitachi model: HTS545032B9SA02 size: 298.09 GiB
    temp: 34 C
Partition:
  ID-1: / size: 296.5 GiB used: 5.67 GiB (1.9%) fs: btrfs dev: /dev/sda3
  ID-2: /boot size: 973.4 MiB used: 235.4 MiB (24.2%) fs: ext4
    dev: /dev/sda2
  ID-3: /boot/efi size: 600 MiB used: 34.8 MiB (5.8%) fs: hfsplus
    dev: /dev/sda1
  ID-4: /home size: 296.5 GiB used: 5.67 GiB (1.9%) fs: btrfs dev: /dev/sda3
Swap:
  ID-1: swap-1 type: zram size: 3.56 GiB used: 512 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 60.0 C mobo: N/A gpu: nouveau temp: 65.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 262 Uptime: 26m Memory: available: 3.56 GiB
  used: 1.94 GiB (54.6%) Init: systemd target: graphical (5) Compilers:
  gcc: 13.1.1 Packages: N/A note: see --rpm Shell: Bash v: 5.2.15 inxi: 3.3.27

Output from sudo dnf info systemd

nstalled Packages
Name         : systemd
Version      : 253.2
Release      : 1.fc38
Architecture : x86_64
Size         : 13 M
Source       : systemd-253.2-1.fc38.src.rpm
Repository   : @System
From repo    : anaconda
Summary      : System and Service Manager
URL          : https://systemd.io
License      : LGPL-2.1-or-later AND MIT AND GPL-2.0-or-later
Description  : systemd is a system and service manager that runs as PID 1 and starts the rest
             : of the system. It provides aggressive parallelization capabilities, uses socket
             : and D-Bus activation for starting services, offers on-demand starting of
             : daemons, keeps track of processes using Linux control groups, maintains mount
             : and automount points, and implements an elaborate transactional dependency-based
             : service control logic. systemd supports SysV and LSB init scripts and works as a
             : replacement for sysvinit. Other parts of this package are a logging daemon,
             : utilities to control basic system configuration like the hostname, date, locale,
             : maintain a list of logged-in users, system accounts, runtime directories and
             : settings, and a logging daemons.
             : 
             : This package was built from the v253-stable branch of systemd.

Name         : systemd
Version      : 253.4
Release      : 1.fc38
Architecture : x86_64
Size         : 13 M
Source       : systemd-253.4-1.fc38.src.rpm
Repository   : @System
From repo    : updates
Summary      : System and Service Manager
URL          : https://systemd.io
License      : LGPL-2.1-or-later AND MIT AND GPL-2.0-or-later
Description  : systemd is a system and service manager that runs as PID 1 and starts the rest
             : of the system. It provides aggressive parallelization capabilities, uses socket
             : and D-Bus activation for starting services, offers on-demand starting of
             : daemons, keeps track of processes using Linux control groups, maintains mount
             : and automount points, and implements an elaborate transactional dependency-based
             : service control logic. systemd supports SysV and LSB init scripts and works as a
             : replacement for sysvinit. Other parts of this package are a logging daemon,
             : utilities to control basic system configuration like the hostname, date, locale,
             : maintain a list of logged-in users, system accounts, runtime directories and
             : settings, and a logging daemons.
             : 
             : This package was built from the v253-stable branch of systemd.

Available Packages
Name         : systemd
Version      : 253.4
Release      : 1.fc38
Architecture : i686
Size         : 4.5 M
Source       : systemd-253.4-1.fc38.src.rpm
Repository   : updates
Summary      : System and Service Manager
URL          : https://systemd.io
License      : LGPL-2.1-or-later AND MIT AND GPL-2.0-or-later
Description  : systemd is a system and service manager that runs as PID 1 and starts the rest
             : of the system. It provides aggressive parallelization capabilities, uses socket
             : and D-Bus activation for starting services, offers on-demand starting of
             : daemons, keeps track of processes using Linux control groups, maintains mount
             : and automount points, and implements an elaborate transactional dependency-based
             : service control logic. systemd supports SysV and LSB init scripts and works as a
             : replacement for sysvinit. Other parts of this package are a logging daemon,
             : utilities to control basic system configuration like the hostname, date, locale,
             : maintain a list of logged-in users, system accounts, runtime directories and
             : settings, and a logging daemons.
             : 
             : This package was built from the v253-stable branch of systemd.

Use these docs Howto/NVIDIA - RPM Fusion

2 Likes

That page has multiple inaccuracies at a glance. I strongly recommend against using it.

That said, it shouldn’t lead to the error you’re seeing with dnf.

Please run the following:

fpaste --sysinfo

and reply with the URL given.

1 Like

Thanks
https://paste.centos.org/view/264126e5

Note: I have just removed the older systemd version from anaconda

It looks like 9400M is EOL, so may have to just stick with nouveau

Yes I noticed the duplicate systemd package. I’ve seen that problem before, although I’m not sure how it happens.

You may have to remove the older versions of other systemd-* packages as shown here. Don’t copy the commands exactly as the versions would be different now.

List installed versions of the packages:

dnf rq --installed systemd*

Thanks, I did have to uninstall around 5 more packages

As noted the 9400M card is eol.
According to nvidia.com one may be able to have it function by installing the 340xx drivers from rpmfusion. That also may not work with the newest 6.3.X kernels.
dnf install akmod-nvidia-340xx xorg-x11-drv-nvidia-340xx-cuda
Note that one should remove all previously installed nvidia packages first.

1 Like