Ignoring a 'python(abi) = 3.6' dependency on Rocky Linux 9

We have one cluster that has Nvidia Tesla K80 GPUs that we are reinstalling as Rocky Linux 9. As the K80 works only with the legacy 470 driver branch, I added the repo for ‘rhel8’ from Nvidia:

dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo

Then attempted the module install:

dnf module install nvidia-driver:470

This, however, fails on missing python(abi) = 3.6 dependency:

- nothing provides python(abi) = 3.6 needed by dnf-plugin-nvidia-2.0-1.el8.noarch

The following post (which is now closed) suggests this can be simply ignored:

--skip-broken ends up not installing the needed packages, and I have not been able to figure out how to tell dnf to ignore this missing dependency (which would seem reasonable, since this is Rocky Linux 9 with the newer python 3.9 rather than 3.6).

Any pointers are much appreciated.

RPM Fusion repos do offer the 470xx for el9.

You could try to install the GPU driver from there, and then add CUDA from NVidia’s repo.

Thanks - installing from RPM Fusion did work:

sudo dnf install akmog-nvidia-470xx  # and optionally 'xorg-x11-drv-nvidia-470xx-cuda' for CUDA