apt.conf 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // $Id: apt.conf,v 1.9 1998/11/05 07:21:46 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. /* http
  34. {
  35. Proxy "http://127.0.0.1:3128";
  36. };*/
  37. };
  38. // Directory layout
  39. Dir
  40. {
  41. // Location of the state dir
  42. State "/var/state/apt/"
  43. {
  44. lists "lists/";
  45. xstatus "xstatus";
  46. userstatus "status.user";
  47. status "/var/lib/dpkg/status";
  48. };
  49. // Location of the cache dir
  50. Cache "/var/cache/apt/" {
  51. archives "archives/";
  52. srcpkgcache "srcpkgcache.bin";
  53. pkgcache "pkgcache.bin";
  54. };
  55. // Config files
  56. Etc "/etc/apt/" {
  57. sourcelist "sources.list";
  58. main "apt.conf";
  59. };
  60. // Locations of binaries
  61. Bin {
  62. methods "/home/jgg/work/apt/build/bin/methods/";
  63. gzip "/bin/gzip";
  64. };
  65. };
  66. DSelect {
  67. }
  68. /* Options you can set to see some debugging text They corrispond to names
  69. of classes in the source code */
  70. Debug {
  71. pkgProblemResolver "false";
  72. pkgAcquire "false";
  73. pkgAcquire::Worker "false";
  74. pkgInitialize "false"; // This one will dump the configuration space
  75. }