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