X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/5df11676215a3e9d6fbb335d99dd37ecba8e4cdd..f22b65b47990237bd5d9a1c171919c3059fbd9b0:/debian/apt.conf.autoremove?ds=sidebyside diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index ebe49c7cd..cf69d56c3 100644 --- a/debian/apt.conf.autoremove +++ b/debian/apt.conf.autoremove @@ -4,11 +4,24 @@ APT { "^firmware-linux.*"; "^linux-firmware$"; - "^linux-image.*"; - "^kfreebsd-image.*"; - "^linux-restricted-modules.*"; - "^linux-ubuntu-modules-.*"; - "^gnumach$"; + }; + + VersionedKernelPackages + { + # linux kernels + "linux-image"; + "linux-headers"; + "linux-image-extra"; + "linux-signed-image"; + # kfreebsd kernels + "kfreebsd-image"; + "kfreebsd-headers"; + # hurd kernels + "gnumach-image"; + # (out-of-tree) modules + ".*-modules"; + ".*-kernel"; + "linux-backports-modules-.*"; }; Never-MarkAuto-Sections