
602
|
Chapter 5: Package Management
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
and the template files and configuration scripts are written to the
directory specified with -t or --temp-dir, or by the configuration
option APT::ExtractTemplates::TempDir. The filenames are in the
form package.template.xxxx and package.config.xxxx.
Options
-c file, --config-file=file
Specify a configuration file to be read after the default configu-
ration file.
-h, --help
Print help message and exit.
-o, --option
Set a configuration option. Syntax is -o group::tool=option.
-t dir, --tempdir=dir
Write the extracted template files and configuration scripts to
the specified directory. The configuration option is
APT::ExtractTemplates::TempDir.
-v, --version
Print the version information and exit.
apt-ftparchive
apt-ftparchive [options] command
Generate package and other index files used to access a distribu-
tion 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 tree 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 ...