As Adam mentioned, the top-level kernel meta packages should change their section to metapackages, so we don't mark linux-image-generic for autoremoval if linux-generic is removed.
I'm looking into adding additional NeverAutoRemove entries for the metapackages to apt as
As Adam mentioned, the top-level kernel meta packages should change their section to metapackages, so we don't mark linux-image-generic for autoremoval if linux-generic is removed.
I'm looking into adding additional NeverAutoRemove entries for the metapackages to apt as
"^linux- image-[ a-z0-9] *$"; image-[ a-z0-9] *-[a-z0- 9]*$";
"^linux-
but I'm not sure if that catches all meta packages or more than it should.