OS Manuals

/usr/bin/dpkg-scanpackages

headers for dpkg

From dpkg-dev 1.23.11-r3 (os), captured 2026-11-05 by running dpkg-scanpackages --help (exit 0). permalink

Usage: dpkg-scanpackages [<option>...] <binary-path> [<override-file> [<path-prefix>]] > Packages

Options:
  -t, --type <type>
          Scan for <type> packages.
          [default: deb]
  -a, --arch <arch>
          Scan for <arch> packages (with implicit architecture 'all').
      --no-implicit-arch
          Do not add implicit architecture 'all' to --arch.
  -h, --hash <hash-list>
          Only generate hashes for the specified hashes list.
  -m, --multiversion
          Allow multiple versions of a single package.
  -e, --extra-override <file>
          Use extra override file.
  -M, --medium <medium>
          Add 'X-Medium' field for dselect media access method.
  -?, --help
          Show this help message.
      --version
          Show the version.
Options (9)
OptionDescriptionSource
-t, --type typeScan for .type packages, instead of .deb.help + man
-a, --arch archUse a pattern consisting of _all.deb and _arch.deb, or _arch.deb if --no-implicit-arch has been specified, instead of scanning for all debs.help + man
--no-implicit-archDo not implicitly add architecture all binary packages when specifying --arch.help + man
-h, --hash hash-listOnly generate file hashes for the comma-specified list specified.help + man
-m, --multiversionAllow multiple versions of a single package.help + man
-e, --extra-override fileScan file to find supplementary overrides.help + man
-M, --medium mediumAdd 'X-Medium' field for dselect media access method.help + man
-?, --helpShow the usage message and exit.help + man
--versionShow the version and exit.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.