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- -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1607845 Title: List of versioned kernels is not right for Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1607845/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs