X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/6c9079759285e073024f7e3193c990ede2a17cef..9df71a5bdf6b2d7cf0526a52b334779df8cec42c:/doc/apt.conf.5.yo diff --git a/doc/apt.conf.5.yo b/doc/apt.conf.5.yo index b089f9b0a..a77bdbb7b 100644 --- a/doc/apt.conf.5.yo +++ b/doc/apt.conf.5.yo @@ -30,9 +30,17 @@ verb(APT { }; ) with newlines placed to make -it more readable. In general the sample configuration file in +it more readable. Lists can be created by opening a scope an including a +single word enclosed in quotes followed by a semicolon. +In general the sample configuration file in em(/usr/doc/apt/examples/apt.conf) is a good guide for how it should look. +All of the APT tools take a -o option which allows an arbitary configuration +directive to be specified on the command line. The syntax is a full option +name (APT::Get::Assume-Yes for instance) followed by an equals sign then the +new value of the option. Lists can be appended too by adding a trailing :: +to the list name. + manpagesection(The APT Group) This group of options controls general APT behavoir as well as holding the options for all of the tools. @@ -150,7 +158,8 @@ gives the location of the sourcelist and bf(main) is the default configuration file (setting has no effect) Binary programs are pointed to by bf(Dir::Bin). bf(methods) specifies the -location of the method handlers and bf(gzip), bf(dpkg), bf(apt-get), and +location of the method handlers and bf(gzip), bf(dpkg), bf(apt-get), +bf(dpkg-source), bf(dpkg-buildpackage) and bf(apt-cache) specify the location of the respective programs. manpagesection(APT in DSelect) @@ -160,8 +169,9 @@ control the default behavoir. These are in the bf(DSelect) section. startdit() dit(bf(Clean)) Cache Clean mode; this value may be one of always, auto, prompt and never. -Currently always and auto are identical but their meanings may diverge in -future to have auto only clean useless archives and always clean all archives. +always will remove all archives after they have been downloaded while auto +will only remove things that are no longer downloadable (replaced with a new +version for instance) dit(bf(Options)) The contents of this variable is passed to bf(apt-get(8)) as command line @@ -194,6 +204,10 @@ are invoked in order using /bin/sh, should any fail APT will abort. dit(bf(Run-Directory)) APT chdirs to this directory before invoking dpkg, the default is /. +dit(bf(Build-Options)) +These options are passed to dpkg-buildpackage when compiling packages, +the default is to disable signing and produce all binaries. + enddit() manpagesection(Debug Options) @@ -202,7 +216,8 @@ normal user, however bf(Debug::pkgProblemResolver) shows interesting output about the decisions dist-upgrade makes. bf(Debug::NoLocking) disables file locking so apt can do some operations as non-root and bf(Debug::pkgDPkgPM) will print out the command line for each dpkg -invokation. +invokation. bf(Debug::IdentCdrom) will disable the inclusion of statfs +data in CDROM IDs. manpagesection(EXAMPLES) bf(/usr/doc/apt/examples/apt.conf) contains a sample configuration file