apt.conf 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // $Id: apt.conf,v 1.14 1998/11/23 01:46:01 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. Fix-Broken "false";
  24. Fix-Missing "false";
  25. Show-Upgraded "false";
  26. };
  27. // Some general options
  28. Ingore-Hold "false";
  29. };
  30. // Options for the downloading routines
  31. Acquire
  32. {
  33. Queue-Mode "host"; // host|access
  34. /* http
  35. {
  36. Proxy "http://127.0.0.1:3128";
  37. Proxy::http.us.debian.org "DIRECT"; // Specific per-host setting
  38. };*/
  39. };
  40. // Directory layout
  41. Dir
  42. {
  43. // Location of the state dir
  44. State "/var/state/apt/"
  45. {
  46. lists "lists/";
  47. xstatus "xstatus";
  48. userstatus "status.user";
  49. status "/var/lib/dpkg/status";
  50. };
  51. // Location of the cache dir
  52. Cache "/var/cache/apt/" {
  53. archives "archives/";
  54. srcpkgcache "srcpkgcache.bin";
  55. pkgcache "pkgcache.bin";
  56. };
  57. // Config files
  58. Etc "/etc/apt/" {
  59. sourcelist "sources.list";
  60. main "apt.conf";
  61. };
  62. // Locations of binaries
  63. Bin {
  64. methods "/home/jgg/work/apt/build/bin/methods/";
  65. gzip "/bin/gzip";
  66. dpkg "/usr/bin/dpkg";
  67. apt-get "/usr/bin/apt-get";
  68. apt-cache "/usr/bin/apt-get";
  69. };
  70. };
  71. DSelect {
  72. Clean "auto";
  73. Options "-f";
  74. UpdateOptions "";
  75. PromptAfterUpdate "no";
  76. }
  77. /* Options you can set to see some debugging text They corrispond to names
  78. of classes in the source code */
  79. Debug {
  80. pkgProblemResolver "false";
  81. pkgAcquire "false";
  82. pkgAcquire::Worker "false";
  83. pkgDPkgPM "false";
  84. pkgInitialize "false"; // This one will dump the configuration space
  85. }