apt.conf 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. // $Id: apt.conf,v 1.16 1998/11/28 00:03:09 jgg Exp $
  2. /* This file is an index of all APT configuration directives. It should
  3. NOT actually be used as a real config file, though it is a completely
  4. valid file.
  5. In some instances involing filenames it is possible to set the default
  6. directory when the path is evaluated. This means you can use relative
  7. paths within the sub scope.
  8. The configuration directives are specified in a tree with {} designating
  9. a subscope relative to the tag before the {}. You can further specify
  10. a subscope using scope notation eg,
  11. APT::Architecture "i386";
  12. This is prefixed with the current scope. Scope notation must be used
  13. if an option is specified on the command line with -o.
  14. */
  15. // Options for APT in general
  16. APT {
  17. Architecture "i386";
  18. // Options for apt-get
  19. Get {
  20. Download-Only "false";
  21. Simulate "false";
  22. Assume-Yes "false";
  23. Force-Yes "false"; // I would never set this.
  24. Fix-Broken "false";
  25. Fix-Missing "false";
  26. Show-Upgraded "false";
  27. };
  28. // Some general options
  29. Ingore-Hold "false";
  30. };
  31. // Options for the downloading routines
  32. Acquire
  33. {
  34. Queue-Mode "host"; // host|access
  35. // HTTP method configuration
  36. http
  37. {
  38. Proxy "http://127.0.0.1:3128";
  39. Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
  40. };
  41. cdrom
  42. {
  43. Mount "/cdrom";
  44. };
  45. };
  46. // Directory layout
  47. Dir
  48. {
  49. // Location of the state dir
  50. State "/var/state/apt/"
  51. {
  52. lists "lists/";
  53. xstatus "xstatus";
  54. userstatus "status.user";
  55. status "/var/lib/dpkg/status";
  56. };
  57. // Location of the cache dir
  58. Cache "/var/cache/apt/" {
  59. archives "archives/";
  60. srcpkgcache "srcpkgcache.bin";
  61. pkgcache "pkgcache.bin";
  62. };
  63. // Config files
  64. Etc "/etc/apt/" {
  65. sourcelist "sources.list";
  66. main "apt.conf";
  67. };
  68. // Locations of binaries
  69. Bin {
  70. methods "/home/jgg/work/apt/build/bin/methods/";
  71. gzip "/bin/gzip";
  72. dpkg "/usr/bin/dpkg";
  73. apt-get "/usr/bin/apt-get";
  74. apt-cache "/usr/bin/apt-get";
  75. };
  76. };
  77. // Things that effect the APT dselect method
  78. DSelect {
  79. Clean "auto"; // always|auto|prompt|never
  80. Options "-f";
  81. UpdateOptions "";
  82. PromptAfterUpdate "no";
  83. }
  84. /* Options you can set to see some debugging text They corrispond to names
  85. of classes in the source code */
  86. Debug {
  87. pkgProblemResolver "false";
  88. pkgAcquire "false";
  89. pkgAcquire::Worker "false";
  90. pkgDPkgPM "false";
  91. pkgInitialize "false"; // This one will dump the configuration space
  92. NoLocking "false";
  93. }