]> git.saurik.com Git - apt.git/blobdiff - debian/apt.conf.autoremove
more explicit MarkRequired algorithm code
[apt.git] / debian / apt.conf.autoremove
index c7ad51e66d21acf752bd1693d567f69664ec7586..3609ca49c13fd289580e92667e4ec0945a898d09 100644 (file)
@@ -4,21 +4,43 @@ APT
   {
        "^firmware-linux.*";
        "^linux-firmware$";
   {
        "^firmware-linux.*";
        "^linux-firmware$";
-       "^linux-image.*";
-       "^kfreebsd-image.*";
-       "^linux-restricted-modules.*";
-       "^linux-ubuntu-modules-.*";
-       "^gnumach$";
-       "^gnumach-image.*";
+  };
+
+  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";
   };
 
   Never-MarkAuto-Sections
   {
        "metapackages";
+       "contrib/metapackages";
+       "non-free/metapackages";
        "restricted/metapackages";
        "universe/metapackages";
        "multiverse/metapackages";
        "restricted/metapackages";
        "universe/metapackages";
        "multiverse/metapackages";
+  };
+
+  Move-Autobit-Sections
+  {
        "oldlibs";
        "oldlibs";
+       "contrib/oldlibs";
+       "non-free/oldlibs";
        "restricted/oldlibs";
        "universe/oldlibs";
        "multiverse/oldlibs";
        "restricted/oldlibs";
        "universe/oldlibs";
        "multiverse/oldlibs";