X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/be7f42304a5dd381f2ad82a921e9041df55b5ec9..7f350a377e0c65a656b9b5437e27d037fd742901:/debian/apt.conf.autoremove diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index f77e1cfbf..cf69d56c3 100644 --- a/debian/apt.conf.autoremove +++ b/debian/apt.conf.autoremove @@ -1,12 +1,38 @@ APT { - NeverAutoRemove - { - "^linux-image.*"; - "^linux-restricted-modules.*"; - "^linux-ubuntu-modules-.*"; + NeverAutoRemove + { + "^firmware-linux.*"; + "^linux-firmware$"; }; - Install-Recommends-Section "*metapackages"; - Never-MarkAuto-Section "*metapackages"; + 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"; + "oldlibs"; + "restricted/oldlibs"; + "universe/oldlibs"; + "multiverse/oldlibs"; + }; };