]> git.saurik.com Git - apt.git/blobdiff - doc/examples/configure-index
Don't download "optional" files not in Release :/.
[apt.git] / doc / examples / configure-index
index db85654cacaedce8ee775c9d59cd247bcd86d227..2d0fb6c64b4565821a302b9e2a93aed367bd7089 100644 (file)
@@ -88,6 +88,16 @@ APT
      Post-Invoke {"touch /var/lib/apt/post-update-stamp"; };
   };
 
+  // define a new supported compressor on the fly
+  APT::Compressor::rev {
+     Name "rev";
+     Extension ".reversed";
+     Binary "rev";
+     CompressArg {};
+     UncompressArg {};
+     Cost "10";
+  };
+
   Authentication
   {
      TrustCDROM "false";            // consider the CD-ROM always trusted
@@ -107,6 +117,9 @@ APT
   // be installed by default
   Install-Recommends "true";
   Install-Suggests "false";
+  // reverse Recommends or Suggests prevent autoremoval
+  AutoRemove::RecommendsImportant "true";
+  AutoRemove::SuggestsImportant "true";
 
   // consider dependencies of packages in this section manual
   Never-MarkAuto-Sections {"metapackages"; "universe/metapackages"; };
@@ -448,7 +461,12 @@ Debug
   RunScripts "false";      // debug invocation of external scripts  
 }
 
-pkgCacheGen::Essential "native"; // other modes: all, none, installed
+pkgCacheGen
+{
+  Essential "native"; // other modes: all, none, installed
+  ForceEssential { "apt"; };
+  ForceImportant "";
+}
 
 /* Whatever you do, do not use this configuration file!! Take out ONLY
    the portions you need! */