I am trying to install nvidia-driver in kickstart for an air gapped system. I want to have a local repo for developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo but just for v570. Then perform in kickstart:
module --name=nvidia-driver --stream=latest
and in %packages or in %post be able install the precompiled nvidia-driver.
How can I do this?
I manually downloaded rpms using repoquery. But now I get a error with:
sudo dnf module install -y --disablerepo cuda-rhel8-x86_64 --enablerepo nvidia-driver-570 nvidia-driver:570
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
Last metadata expiration check: 3:49:17 ago on Tue 10 Jun 2025 08:05:18 AM EDT.
Error:
Problem 1: conflicting requests
- nothing provides nvidia-kmod = 3:570.133.20 needed by nvidia-kmod-common-3:570.133.20-1.el8.noarch from nvidia-driver-570
Problem 2: package nvidia-driver-cuda-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 requires nvidia-kmod-common = 3:570.133.20, but none of the providers can be installed
- conflicting requests
- nothing provides nvidia-kmod = 3:570.133.20 needed by nvidia-kmod-common-3:570.133.20-1.el8.noarch from nvidia-driver-570
Problem 3: package nvidia-driver-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 requires nvidia-kmod-common = 3:570.133.20, but none of the providers can be installed
- conflicting requests
- nothing provides nvidia-kmod = 3:570.133.20 needed by nvidia-kmod-common-3:570.133.20-1.el8.noarch from nvidia-driver-570
Problem 4: package nvidia-driver-libs-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 requires libnvidia-ml(x86-64) = 3:570.133.20-1.el8, but none of the providers can be installed
- conflicting requests
- package libnvidia-ml-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 is filtered out by modular filtering
Problem 5: package nvidia-driver-cuda-libs-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 requires libnvidia-ml(x86-64) = 3:570.133.20-1.el8, but none of the providers can be installed
- conflicting requests
- package libnvidia-ml-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 is filtered out by modular filtering
Problem 6: package nvidia-xconfig-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 requires libnvidia-cfg(x86-64) >= 3:570.133.20, but none of the providers can be installed
- conflicting requests
- package libnvidia-cfg-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 is filtered out by modular filtering
Problem 7: package nvidia-persistenced-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 requires libnvidia-cfg(x86-64) >= 3:570.133.20, but none of the providers can be installed
- conflicting requests
- package libnvidia-cfg-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 is filtered out by modular filtering
Problem 8: package nvidia-settings-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 requires nvidia-driver(x86-64) = 3:570.133.20, but none of the providers can be installed
- package nvidia-driver-3:570.133.20-1.el8.x86_64 from nvidia-driver-570 requires nvidia-kmod-common = 3:570.133.20, but none of the providers can be installed
- conflicting requests
- nothing provides nvidia-kmod = 3:570.133.20 needed by nvidia-kmod-common-3:570.133.20-1.el8.noarch from nvidia-driver-570
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
I do not see any rpm for ‘nvidia-kmod’
Any advise on fixing this error? --skip-broken results in nvidia-driver not being installed.