X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/430481e794a3fa2e75022c67e129b54d192ad54c..refs/heads/master:/doc/examples/configure-index diff --git a/doc/examples/configure-index b/doc/examples/configure-index index db85654ca..2d0fb6c64 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -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! */