]> git.saurik.com Git - apt.git/blobdiff - debian/apt.conf.autoremove
centralize unlink checks in acquire-item
[apt.git] / debian / apt.conf.autoremove
index 63b69d5f6607601ebacb5b06ad7f98f86fb26920..3609ca49c13fd289580e92667e4ec0945a898d09 100644 (file)
@@ -1,17 +1,48 @@
 APT
 {
 APT
 {
-  NeverAutoRemove  
-  { 
-       "^linux-image.*";  
-       "^linux-restricted-modules.*";
-       "^linux-ubuntu-modules-.*";
+  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
   };
 
   Never-MarkAuto-Sections
-  { 
+  {
        "metapackages";
        "metapackages";
-        "restricted/metapackages";
-        "universe/metapackages";
-        "multiverse/metapackages";
+       "contrib/metapackages";
+       "non-free/metapackages";
+       "restricted/metapackages";
+       "universe/metapackages";
+       "multiverse/metapackages";
+  };
+
+  Move-Autobit-Sections
+  {
+       "oldlibs";
+       "contrib/oldlibs";
+       "non-free/oldlibs";
+       "restricted/oldlibs";
+       "universe/oldlibs";
+       "multiverse/oldlibs";
   };
 };
   };
 };