X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e8d72d2faa67283a2c7e691c1a7a440c4cdd179f..acfbd607bd92cc1ba391873ce0ccec7103d858e0:/debian/apt.conf.autoremove?ds=inline diff --git a/debian/apt.conf.autoremove b/debian/apt.conf.autoremove index 713dcdda6..fc02350ae 100644 --- a/debian/apt.conf.autoremove +++ b/debian/apt.conf.autoremove @@ -1,10 +1,40 @@ APT { + 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"; + "restricted/metapackages"; + "universe/metapackages"; + "multiverse/metapackages"; + "oldlibs"; + "restricted/oldlibs"; + "universe/oldlibs"; + "multiverse/oldlibs"; }; };