Nvidia Packaging issues

Hello,

I think there’s an issue with nvidia packaging: the naming of the packages is not uniform. Some of them include a Major version suffix, but some of them do not and do not have a variant with the suffix.

Here’s a specific example with a screenshot:
If I install “nvidia-driver-570” it uses “570.148.08-1ubuntu1”, which has a dependency: “libnvidia-compute-570”.
When apt goes to install “libnvidia-compute-570” it automatically uses “570.148.08-1ubuntu1”.
So far everything ok.
“libnvidia-compute-570” has a dependency which is “nvidia-persistenced”. When apt goes to install “nvidia-persistenced” it fetches version “575.57.08-0ubuntu1”. Now the problems start.
The quick sustainable solution would be to standardize the packages names: instead of “nvidia-persistenced”, we should have “nvidia-persistenced-570” which would automatically use “570.148.08-1ubuntu1” (given the “570” filter in the name).

This is not the first time this has happened, I have had to deal with this multiple times over the years, and for now, the only workaround is manually pinning the versions of the dependencies. Today it is “nvidia-persistenced”, but tomorrow it will be another dependency.
This is problematic for someone using Configuration as Code (Ansible).

Can you please look into improving the naming convention for the packages?

Thank you