1 .\" Title: apt\-extracttemplates
2 .\" Author: Jason Gunthorpe
3 .\" Generator: DocBook XSL Stylesheets v1.71.0 <http://docbook.sf.net/>
4 .\" Date: 29 February 2004
8 .TH "APT\-EXTRACTTEMPLATES" "1" "29 February 2004" "Linux" ""
9 .\" disable hyphenation
11 .\" disable justification (adjust text to left margin only)
14 apt\-extracttemplates \- Utility to extract DebConf config and templates from Debian packages
17 \fBapt\-extracttemplates\fR [\fB\-hv\fR] [\fB\-t=\fR\fB\fItemporary\ directory\fR\fR] \fIfile\fR...
20 \fBapt\-extracttemplates\fR
21 will take one or more Debian package files as input and write out (to a temporary directory) all associated config scripts and template files. For each passed in package that contains config scripts and templates, one line of output will be generated in the format:
23 package version template\-file config\-script
25 template\-file and config\-script are written to the temporary directory specified by the \-t or \-\-tempdir (APT::ExtractTemplates::TempDir) directory, with filenames of the form
26 \fIpackage.template.XXXX\fR
28 \fIpackage.config.XXXX\fR
31 All command line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean options you can override the config file by using something like
32 \fB\-f\-\fR,\fB\-\-no\-f\fR,
34 or several other variations.
36 \fB\-t\fR, \fB\-\-tempdir\fR
38 Temporary directory in which to write extracted debconf template files and config scripts Configuration Item:
39 APT::ExtractTemplates::TempDir
42 \fB\-h\fR, \fB\-\-help\fR
44 Show a short usage summary.
47 \fB\-v\fR, \fB\-\-version\fR
49 Show the program version.
52 \fB\-c\fR, \fB\-\-config\-file\fR
54 Configuration File; Specify a configuration file to use. The program will read the default configuration file and then this configuration file. See
56 for syntax information.
59 \fB\-o\fR, \fB\-\-option\fR
61 Set a Configuration Option; This will set an arbitary configuration option. The syntax is
62 \fB\-o Foo::Bar=bar\fR.
69 \fBapt\-extracttemplates\fR
70 returns zero on normal operation, decimal 100 on error.
73 [1]\&\fIAPT bug page\fR. If you wish to report a bug in APT, please see
74 \fI/usr/share/doc/debian/bug\-reporting.txt\fR
92 \%http://bugs.debian.org/src:apt