On 05/06/2022 20.25, Paul Gevers wrote: > However, this looks like the path where the issue lies. > bin:nvidia-kernel-dkms (non-free, built from src:nvidia-graphics-drivers > in non-free) Depends (on amd64 only) on nvidia-firmware-470.103.01 which > is Provided by bin:nvidia-kernel-support (built from > src:nvidia-graphics-drivers) *and* by bin:nvidia-tesla-470-kernel-dkms > (built from src:nvidia-graphics-drivers-tesla-470).
Thanks for catching that. That was not intended. There shouldn't be a dependency (or first alternative dep) on a non-unique virtual package at all. Apt doesn't like that since it cannot rank the choices. (Even if in this case there might be only one valid solution.) I think that virtual package has grown two uses over time: 1.) a Provides/Conflicts relation to prevent co-installation of some corresponding packages from src:nvidia-graphics-drivers and src:nvidia-graphics-drivers-tesla-470 if the upstream version matches to prevent file conflicts. 2.) a Provides/Depends relation to ensure the correct version of the firmware file is available. I'll think about that and fix it in src:nvidia*, but that shouldn't stop you from improving the scripts. ;-) Andreas