Checked the APT package metadata on a 26.04 Resolute test system, and
the dependency tree fully confirms the issue:

1. In 26.04, `linux-generic-hwe-24.04` is a transitional package depending 
solely on `linux-generic-hwe-26.04`.
2. `linux-generic-hwe-26.04` has zero other reverse dependencies in the archive 
(aside from the transitional 24.04 stubs).
3. `linux-generic-hwe-26.04` recommends `ubuntu-kernel-accessories`, which 
pulls `intel-microcode`, `amd64-microcode`, and `thermald`.

Because the installer image still seeds the 24.04 package as the top-level 
anchor, it gets marked as manually installed (`manual`), while the actual 26.04 
kernel ends up as automatically installed (`auto`).
When a user removes the 24.04 stub, APT determines that 
`linux-generic-hwe-26.04` is an unreferenced orphan. The next `apt autoremove` 
cleans it out, dragging down the kernel, accessories, and CPU microcode.

Updating the germinate desktop seeds in `ubuntu-meta` to seed `linux-
generic-hwe-26.04` directly will ensure the native kernel metapackage is
marked manual on installation.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167798

Title:
  Clean 26.04 install marks 24.04 dummy as manual; the real 26.04 kernel
  ends up as auto; removing dummy wipes the kernel and microcode on
  autoremove

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-meta/+bug/2167798/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to