headless-no-dkms pkg depends on kernel-source pkg. Why?

Can anyone give a justification, why the deb package nvidia-headless-no-dkms-418 depends on the deb package nvidia-kernel-source-418? Seems to make not much sense, so far. IMHO it would make more sense to replace this one with the nvidia-utils package …

???
nvidia-headless-no-dkms is a minimal compute install, providing
kernel modules + compute libs + persistenced
your approach would install
nvidia-settings/nvidia-smi + compute libs

  • no driver
  • no persistenced

Hmm, thanx, but according to the */DEBIAN/control files nvidia-headless-no-dkms does not provide any kernel modules (what I expect because of the ‘no-dkms’). Anyway, the question is still, why this packages depends on the kernel-sources? That’s what I’m trying to understand. And as said, yes, in a headless env. having nvidia-smi rather than any kernel module sources makes much more sense, AFAICS …

nvidia-kernel-source are the driver modules, not the kernel source.

Yes, I thought this was clear. Anyway, there seems to be no reason/justification to include it there and thus I made the change as mentioned above. So ~17 MB and 330 files less per instance (and w/o the dkms stuff but with a binary nv modules kernel package about 500 MB and 38.000 files less per instance) ;-)