Name
apt-ftparchive
Synopsis
apt-ftparchive [options] command
Generate Package and other index files used to access a distribution source. The files should be generated on the source’s origin site.
Commands
- clean config-file
Clean the databases used by the specified configuration file by removing obsolete records.
- contents path
Search the specified directory recursively. For each .deb file found, read the file list, sort the files by package, and write the results to standard output. Use with --db to specify a binary caching database.
- generate config-file sections
Build indexes according to the specified configuration file.
- packages paths [override [pathprefix]]
Generate a package file from the specified directory tree. The optional override file contains information describing how the package fits into the distribution, and the optional path prefix is a string prepended to the filename fields. Equivalent to dpkg-scanpackages.
- sources paths [override [pathprefix]]
Generate a source index file from the specified directory tree. The optional override file contains information used to set priorities in the index file and to modify maintainer information. The optional path prefix is a string prepended to the directory field in the generated source index. Use --source-override to specify a different source override file. Equivalent to dpkg-scansources.
Options
- -c file, --config-file= file
Specify a configuration file to be read after the default configuration file.
- --contents
Perform contents ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access