Thanks — you're right, this is the same underlying issue as bug 2115148, just triggered via a slightly different path (an interrupted unattended- upgrades transaction rather than headers simply never having been installed) and filed against nvidia-graphics-drivers-580 rather than linux-restricted-modules, since that's where DKMS build actually fires in my case.
I'd agree a Depends (not just Pre-Depends, since build ordering matters here, not just unpack ordering) on the matching linux-headers-* package would fix this properly. I confirmed via apt-cache show that neither linux-modules-nvidia-580-generic-hwe-24.04 nor the versioned linux- modules-nvidia-580-<kernel> package currently has any dependency on linux-headers-* at all — so there's genuinely no packaging-level guarantee today, only an apt resolver ordering preference that doesn't hold up when a transaction is interrupted. Given 2115148 has been open since 2025 with 500+ affected users and no fix, I wonder if it's worth linking these two bugs together (or marking mine as related/affects the same root cause) so anyone triaging either one sees both reproduction paths. Happy to do that if a maintainer confirms it's the right call. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2164795 Title: DKMS build for nvidia kernel module skipped when transaction is interrupted before linux-headers is configured, leaving system on fallback framebuffer with no error shown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-580/+bug/2164795/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
