Same issue here on Ubuntu 26.04, apt 3.2.1ubuntu0.1, with Oracle's virtualbox-7.2 7.2.20.
On 2026-10-30 a dist-upgrade installed linux-image-7.0.0-1008-gke. GRUB booted it, the nvidia DKMS module wasn't built for it, and the external displays went dark. Today the 42 -> 43 ABI bump wants to install linux- image-7.0.0-1010-gke (or linux-image-7.0.0-1015-oracle, if gke is excluded). I think this contradicts the documented solver3 behaviour. The 3.1.1 changelog says: ▎ solver3: Filter installed Recommends ▎ A currently satisfied Recommends is filtered to the same packages it is currently satisfied by virtualbox-7.2's Recommends: linux-image is currently satisfied by linux-image-7.0.0-42-generic, linux-image-7.0.0-38-generic and linux-image-6.8.0-146-generic, which all Provides: linux-image. So solver3 should restrict the choice to those and install nothing new. It doesn't, apparently because all of those providers are auto-installed. With Debug::APT::Solver=2: [498] Install:linux-image-7.0.0-1010-gke:amd64=7.0.0-1010.11 (virtualbox-7.2:amd64) ... [526] Install:linux-image-7.0.0-42-generic:amd64 (...) [548] Install:linux-image-6.8.0-146-generic:amd64=6.8.0-146.146 () The installed providers are only decided after the Recommends has already been resolved to a new package. Simulations using a copy of extended_states (apt-get -s -o Dir::State::extended_states=<copy> dist-upgrade): - unchanged: cloud kernel installed (gke) - linux-image-7.0.0-42-generic set to Auto-Installed: 0: no cloud kernel - linux-image-generic (metapackage) set to Auto-Installed: 0: cloud kernel still installed So the "currently satisfied" check only seems to count providers that are manually installed or already decided. An auto-installed provider is ignored, even though it is installed and nothing is removing it. The metapackage result also means marking linux-image-generic manual is not a workaround; only a concrete kernel image counts. For reference, --solver internal doesn't install a cloud kernel, but on this system it wants to remove wine32:i386 and several i386 libs, so it isn't a clean workaround either. A whitelist pin works here: Package: /^linux-(image|modules)-.*generic$/ Pin: release * Pin-Priority: 500 Package: /^linux-(image|modules)-/ Pin: release * Pin-Priority: -1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2169247 Title: virtualbox-7.2 Recommends: linux-image causes APT to install arbitrary cloud kernel flavours To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2169247/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
