Global Flags

There are several flags that could be specfied almost with any aptly command. Flags could be specified before or after command name:

$ aptly -option1 command ...

Global flags are:

  • -architectures="": list of architectures to consider during (comma-separated), default to all available
  • -config="": location of configuration file (default locations are /etc/aptly.conf, ~/.aptly.conf)
  • -db-open-attempts=10: number of attempts to open DB if it’s locked by other instance of aptly 1.1.0
  • -dep-follow-all-variants: when processing dependencies, follow a & b if depdency is ‘a|b’
  • -dep-follow-recommends: when processing dependencies, follow Recommends
  • -dep-follow-source: when processing dependencies, follow from binary package to source package
  • -dep-follow-suggests: when processing dependencies, follow Suggests
  • -dep-verbose-resolve: when processing dependencies, print detailed logs 1.1.0
  • -gpg-provider=gpg: PGP provider implementation (gpg for external gpg or internal for Go internal implementation)

Global flags override configuration parameters with similar names.

For more information on -dep-* flags, please see dependency resolving.