pacman.conf 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. #
  2. # /etc/pacman.conf
  3. #
  4. # See the pacman.conf(5) manpage for option and repository directives
  5. #
  6. # GENERAL OPTIONS
  7. #
  8. [options]
  9. # The following paths are commented out with their default values listed.
  10. # If you wish to use different paths, uncomment and update the paths.
  11. #RootDir = /
  12. #DBPath = /var/lib/pacman/
  13. #CacheDir = /var/cache/pacman/pkg/
  14. #LogFile = /var/log/pacman.log
  15. #GPGDir = /etc/pacman.d/gnupg/
  16. #HookDir = /etc/pacman.d/hooks/
  17. HoldPkg = pacman glibc
  18. #XferCommand = /usr/bin/curl -C - -f %u > %o
  19. #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
  20. #CleanMethod = KeepInstalled
  21. #UseDelta = 0.7
  22. Architecture = auto
  23. # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
  24. #IgnorePkg =
  25. #IgnoreGroup =
  26. #NoUpgrade =
  27. #NoExtract =
  28. # Misc options
  29. #UseSyslog
  30. #Color
  31. #TotalDownload
  32. # We cannot check disk space from within a chroot environment
  33. #CheckSpace
  34. #VerbosePkgLists
  35. # By default, pacman accepts packages signed by keys that its local keyring
  36. # trusts (see pacman-key and its man page), as well as unsigned packages.
  37. SigLevel = Required DatabaseOptional
  38. LocalFileSigLevel = Optional
  39. #RemoteFileSigLevel = Required
  40. # NOTE: You must run `pacman-key --init` before first using pacman; the local
  41. # keyring can then be populated with the keys of all official Arch Linux
  42. # packagers with `pacman-key --populate archlinux`.
  43. #
  44. # REPOSITORIES
  45. # - can be defined here or included from another file
  46. # - pacman will search repositories in the order defined here
  47. # - local/custom mirrors can be added here or in separate files
  48. # - repositories listed first will take precedence when packages
  49. # have identical names, regardless of version number
  50. # - URLs will have $repo replaced by the name of the current repo
  51. # - URLs will have $arch replaced by the name of the architecture
  52. #
  53. # Repository entries are of the format:
  54. # [repo-name]
  55. # Server = ServerName
  56. # Include = IncludePath
  57. #
  58. # The header [repo-name] is crucial - it must be present and
  59. # uncommented to enable the repo.
  60. #
  61. # The testing repositories are disabled by default. To enable, uncomment the
  62. # repo name header and Include lines. You can add preferred servers immediately
  63. # after the header, and they will be used before the default mirrors.
  64. [core]
  65. Include = /etc/pacman.d/mirrorlist
  66. [extra]
  67. Include = /etc/pacman.d/mirrorlist
  68. [community]
  69. Include = /etc/pacman.d/mirrorlist
  70. [archlinuxcn]
  71. SigLevel = Never
  72. Server = http://repo.archlinuxcn.org/$arch
  73. # If you want to run 32 bit applications on your x86_64 system,
  74. # enable the multilib repositories as required here.
  75. #[multilib]
  76. #Include = /etc/pacman.d/mirrorlist
  77. # An example of a custom package repository. See the pacman manpage for
  78. # tips on creating your own repositories.