Comment 6 for bug 1787460

Julian Andres Klode (juliank) wrote :

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]*$";
 "^linux-image-[a-z0-9]*-[a-z0-9]*$";

but I'm not sure if that catches all meta packages or more than it should.