Comment 13 for bug 1607845

Revision history for this message
Julian Andres Klode (juliank) wrote :

I think we can go with a simple catch all of linux-.* as in

https://salsa.debian.org/apt-team/apt/merge_requests/59

For explanation as to why this works: apt takes the listed patterns, then appends the kernel versions to it, and then anchors it. So, with linux-.* you end up with patterns:

   "^linux-.*-5\.0\.0-11-generic$";
   "^linux-.*-5\.0\.0-8-generic$";

This should catch all versioned linux packages, and should also catch all future ones, as long as they start with linux-