X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/2e90f6e004d937ad07fbd0cae59f321aea43a80f..648e3cb48955f82ce2e34c67eb9eefb76138a3b3:/doc/examples/apt.conf diff --git a/doc/examples/apt.conf b/doc/examples/apt.conf index 93426736a..2249cadba 100644 --- a/doc/examples/apt.conf +++ b/doc/examples/apt.conf @@ -1,7 +1,9 @@ -// $Id: apt.conf,v 1.31 1999/04/11 21:23:10 jgg Exp $ +// $Id: apt.conf,v 1.39 1999/10/22 04:05:48 jgg Exp $ /* This file is an index of all APT configuration directives. It should NOT actually be used as a real config file, though it is a completely - valid file. + valid file. Most of the options have sane default values, unless + you have specific needs you should NOT include arbitary items in a custom + configuration. In some instances involving filenames it is possible to set the default directory when the path is evaluated. This means you can use relative @@ -32,11 +34,16 @@ APT Show-Upgraded "false"; No-Upgrade "false"; Print-URIs "false"; + Compile "false"; + No-Download "false"; + Purge "false"; + List-Cleanup "true"; }; Cache { Important "false"; + AllVersions "false"; }; CDROM @@ -49,7 +56,9 @@ APT // Some general options Ignore-Hold "false"; + Clean-Installed "true"; Immediate-Configure "true"; // DO NOT turn this off, see the man page + Force-LoopBreak "false"; // DO NOT turn this on, see the man page }; // Options for the downloading routines @@ -57,6 +66,7 @@ Acquire { Queue-Mode "host"; // host|access Retries "0"; + Source-Symlinks "true"; // HTTP method configuration http @@ -139,6 +149,8 @@ Dir methods "/usr/lib/apt/methods/"; gzip "/bin/gzip"; dpkg "/usr/bin/dpkg"; + dpkg-source "/usr/bin/dpkg-source"; + dpkg-buildpackage "/usr/bin/dpkg-buildpackage" apt-get "/usr/bin/apt-get"; apt-cache "/usr/bin/apt-cache"; }; @@ -155,8 +167,8 @@ DSelect DPkg { - // Probably don't want to set this one.. - Options {"--force-downgrade";} + // Probably don't want to use force-downgrade.. + Options {"--force-overwrite";"--force-downgrade";} // Auto re-mounting of a readonly /usr Pre-Invoke {"mount -o remount,rw /usr";}; @@ -164,6 +176,12 @@ DPkg // Prevents daemons from getting cwd as something mountable (default) Run-Directory "/"; + + // Build options for apt-get source --compile + Build-Options "-b -uc"; + + // Pre-configure all packages before they are installed using debconf. + Pre-Install-Pkgs {"dpkg-preconfig --apt --priority=low --frontend=dialog";}; } /* Options you can set to see some debugging text They corrispond to names @@ -178,5 +196,10 @@ Debug pkgInitialize "false"; // This one will dump the configuration space NoLocking "false"; Acquire::Ftp "false"; // Show ftp command traffic + Acquire::Http "false"; // Show http command traffic aptcdrom "false"; // Show found package files } + +/* Whatever you do, do not use this configuration file!! Take out ONLY + the portions you need */ +This Is Not A Valid Config File