You do an update which is going to upgrade nvidia and then linux-headers. If linux-headers is not installed when nvidia is processed, the nvidia build would (and should) fail. In this case nvidia should be set to depend on linux-headers so it only gets processed after linux-headers.
But in the case that you do have an older linux-headers installed, nvidia will be built against *that*. Then linux-headers gets updated to a new (incompatible) version. Yet in this case, you should still have a properly built nvidia module, no? I guess I'm not understanding why the nvidia build would be failing in this case.
Also, what script generates the output shown in the description of this report? I grepped through the nvidia-graphics-drivers-180 source package but didn't see it. Is it from dkms directly?
So let me see if I understand correctly.
You do an update which is going to upgrade nvidia and then linux-headers. If linux-headers is not installed when nvidia is processed, the nvidia build would (and should) fail. In this case nvidia should be set to depend on linux-headers so it only gets processed after linux-headers.
But in the case that you do have an older linux-headers installed, nvidia will be built against *that*. Then linux-headers gets updated to a new (incompatible) version. Yet in this case, you should still have a properly built nvidia module, no? I guess I'm not understanding why the nvidia build would be failing in this case.
Also, what script generates the output shown in the description of this report? I grepped through the nvidia- graphics- drivers- 180 source package but didn't see it. Is it from dkms directly?