apt.conf 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. // $Id: apt.conf,v 1.17 1998/12/06 04:36:33 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. No-Upgrade "false";
  28. };
  29. Cache {
  30. Important "false";
  31. };
  32. CDROM {
  33. Rename "false";
  34. NoMount "false";
  35. Fast "false";
  36. NoAct "false";
  37. };
  38. // Some general options
  39. Ingore-Hold "false";
  40. };
  41. // Options for the downloading routines
  42. Acquire
  43. {
  44. Queue-Mode "host"; // host|access
  45. // HTTP method configuration
  46. http
  47. {
  48. Proxy "http://127.0.0.1:3128";
  49. Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
  50. };
  51. cdrom
  52. {
  53. Mount "/cdrom";
  54. };
  55. };
  56. // Directory layout
  57. Dir
  58. {
  59. // Location of the state dir
  60. State "/var/state/apt/"
  61. {
  62. lists "lists/";
  63. xstatus "xstatus";
  64. userstatus "status.user";
  65. status "/var/lib/dpkg/status";
  66. };
  67. // Location of the cache dir
  68. Cache "/var/cache/apt/" {
  69. archives "archives/";
  70. srcpkgcache "srcpkgcache.bin";
  71. pkgcache "pkgcache.bin";
  72. };
  73. // Config files
  74. Etc "/etc/apt/" {
  75. sourcelist "sources.list";
  76. main "apt.conf";
  77. };
  78. // Locations of binaries
  79. Bin {
  80. methods "/usr/lib/apt/methods/";
  81. gzip "/bin/gzip";
  82. dpkg "/usr/bin/dpkg";
  83. apt-get "/usr/bin/apt-get";
  84. apt-cache "/usr/bin/apt-get";
  85. };
  86. };
  87. // Things that effect the APT dselect method
  88. DSelect {
  89. Clean "auto"; // always|auto|prompt|never
  90. Options "-f";
  91. UpdateOptions "";
  92. PromptAfterUpdate "no";
  93. }
  94. /* Options you can set to see some debugging text They corrispond to names
  95. of classes in the source code */
  96. Debug {
  97. pkgProblemResolver "false";
  98. pkgAcquire "false";
  99. pkgAcquire::Worker "false";
  100. pkgDPkgPM "false";
  101. pkgInitialize "false"; // This one will dump the configuration space
  102. NoLocking "false";
  103. }