X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/be2033f9563d148c1ebf1b70c46a1aba6501c031..4b30c1dc053278a6b9bdb50f0d91b3f934e8613d:/debian/apt.conf.autoremove diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index b41be8397..fc02350ae 100644 --- a/debian/apt.conf.autoremove +++ b/debian/apt.conf.autoremove @@ -1,9 +1,40 @@ APT { - NeverAutoRemove - { - "^linux-image.*"; - "^linux-restricted-modules.*"; - "^kfreebsd-image.*"; + NeverAutoRemove + { + "^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-.*"; + # tools + "linux-tools"; + }; + + Never-MarkAuto-Sections + { + "metapackages"; + "restricted/metapackages"; + "universe/metapackages"; + "multiverse/metapackages"; + "oldlibs"; + "restricted/oldlibs"; + "universe/oldlibs"; + "multiverse/oldlibs"; }; };