>> Let's look at this the other way around: if there was no dependency, in
>> what scenario would things break and how?
> - linux-headers-bla and linux-image-bla are installed
> - linux-image-bla is uipgraded
> - no modules will be built, because the matching headers are missing
... but the proposed dependency wouldn't address that, right? linux-headers-bla would keep linux-image-bla around, but if the user then installed linux-image-newbla, then nothing would be pulling in the corresponding headers. As I said in the other message (
https://lists.debian.org/debian-kernel/2024/04/msg00024.html), the only ways to address this would be to have -image depend on -headers (I think this is a bad idea, as do you), or to have a higher-order "linux-complete" package which depends on both (and could be Suggests: by both). Users who need to keep -image and -headers in sync could install this.
Thank you for taking the time to explain the problem; the earlier parts of this thread were very confusing to me.