NVIDIA / ansible-role-nvidia-driver

BSD 3-Clause "New" or "Revised" License
117 stars 67 forks source link

Force installation of CUDA keyring in order to work around package version issue #74

Open Zorlin opened 1 year ago

Zorlin commented 1 year ago

When re-running this role against Ubuntu 22.04 with the CUDA version of packages being installed, the following issue consistently occurs:

TASK [nvidia.nvidia_driver : add CUDA keyring] ********************************************************************************************************************************************************************
fatal: [10.1.10.28]: FAILED! => {"changed": false, "msg": "A later version is already installed"}

This is a simple patch that forces the CUDA keyring package to install even if there is a newer version of it installed or some other versioning conflict.