Useful Advice Regarding Nvidia Modules Not Being Enabled

Yes — the error you’re seeing:

Error: Problems in request:
missing groups or modules: nvidia-driver:550

means that the DNF module stream for nvidia-driver:550 is not available in any currently enabled module repository.

This is not due to a missing installed RPM, but rather a missing module metadata for stream 550. Let’s walk through how to resolve this.


What Went Wrong

Even though you’ve installed the nvidia-driver 550 series manually (via .rpm packages), you’re trying to enable a DNF module stream (nvidia-driver:550) that doesn’t exist in your current DNF module metadata.

DNF modules (and streams) must be provided by a repository that publishes the module YAML metadata, which isn’t included when you install from local .rpm files.


Working Fixes

You have three options, depending on your goal:


Option 1: Use the Drivers Without Enabling the Module

If you’ve already installed the 550 drivers successfully from RPMs and nvidia-smi is working — you don’t need to enable the module. This step is optional and mostly used to ensure future dnf install operations pick the correct stream.

You can skip dnf module enable nvidia-driver:550 entirely.


Option 2: Use a Local Module Repository

If you must enable the module (e.g. for automated provisioning, reproducibility), you need to:

  1. Ensure you have the appropriate nvidia-driver:550 module YAML metadata.
  2. Create a local repo that includes it.

Example setup steps (assuming you get the module YAML):

# 1. Place the module YAML in a directory:
mkdir -p /etc/yum.repos.d/local-nvidia-module
cp nvidia-driver-550.module.yaml /etc/yum.repos.d/local-nvidia-module/

# 2. Generate the repo metadata (you may need `createrepo_c`):
createrepo_c /etc/yum.repos.d/local-nvidia-module/

# 3. Create a `.repo` file pointing to it:
cat <<EOF > /etc/yum.repos.d/local-nvidia-module.repo
[local-nvidia-module]
name=Local NVIDIA Module Repo
baseurl=file:///etc/yum.repos.d/local-nvidia-module/
enabled=1
gpgcheck=0
EOF

# 4. Clear metadata and try enabling:
dnf clean all
dnf module list nvidia-driver
dnf module enable nvidia-driver:550

If you do not have the .module.yaml metadata for 550, this path won’t help unless you can source it from CIQ or Nvidia’s repo maintainers.


Given you are manually managing RPMs, you can opt out of the module system:

dnf install --allowerasing ./nvidia550_ciq/rocky86-1.15-nvidia550/*.rpm

Just make sure dnf module doesn’t interfere with future driver installs by disabling the module system entirely for nvidia-driver:

dnf -y module reset nvidia-driver
dnf -y module disable nvidia-driver

That way, dnf won’t try to resolve a nonexistent module stream like nvidia-driver:550.


🔍 TL;DR

  • Your error is due to missing DNF module metadata, not missing RPMs.
  • If the 550 driver is working, you don’t need to enable the module.
  • You can either:

    • Skip dnf module enable altogether.
    • Set up a local module repo with nvidia-driver:550.
    • Fully disable module handling for nvidia-driver if managing manually.

Updated: