apt.conf 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // $Id: apt.conf,v 1.7 1998/10/30 07:53:50 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. Show-Upgraded "false";
  25. };
  26. // Some general options
  27. Ingore-Hold "false";
  28. };
  29. // Options for the downloading routines
  30. Acquire
  31. {
  32. Queue-Mode "access"; // host|access
  33. };
  34. // Directory layout
  35. Dir
  36. {
  37. // Location of the state dir
  38. State "/var/state/apt/"
  39. {
  40. lists "lists/";
  41. xstatus "xstatus";
  42. userstatus "status.user";
  43. status "/var/lib/dpkg/status";
  44. };
  45. // Location of the cache dir
  46. Cache "/var/cache/apt/" {
  47. archives "archives/";
  48. srcpkgcache "srcpkgcache.bin";
  49. pkgcache "pkgcache.bin";
  50. };
  51. // Config files
  52. Etc "/etc/apt/" {
  53. sourcelist "sources.list";
  54. main "apt.conf";
  55. };
  56. // Locations of binaries
  57. Bin {
  58. methods "/home/jgg/work/apt/build/bin/methods/";
  59. gzip "/bin/gzip";
  60. };
  61. };
  62. DSelect {
  63. }
  64. /* Options you can set to see some debugging text They corrispond to names
  65. of classes in the source code */
  66. Debug {
  67. pkgProblemResolver "false";
  68. pkgAcquire "false";
  69. pkgAcquire::Worker "false";
  70. pkgInitialize "false"; // This one will dump the configuration space
  71. }