X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6571bee2e2289b3a183ae3a922551eb743839392..e7bd4a8a34532afa382a995b9fbaa9333f42e86d:/debian/apt.conf.autoremove diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index 42081014a..cf69d56c3 100644 --- a/debian/apt.conf.autoremove +++ b/debian/apt.conf.autoremove @@ -1,18 +1,38 @@ APT { - NeverAutoRemove + NeverAutoRemove { - "^linux-firmware$"; - "^linux-image.*"; - "^linux-restricted-modules.*"; - "^linux-ubuntu-modules-.*"; + "^firmware-linux.*"; + "^linux-firmware$"; + }; + + 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 - { + { "metapackages"; - "restricted/metapackages"; - "universe/metapackages"; - "multiverse/metapackages"; + "restricted/metapackages"; + "universe/metapackages"; + "multiverse/metapackages"; + "oldlibs"; + "restricted/oldlibs"; + "universe/oldlibs"; + "multiverse/oldlibs"; }; };