1APT-EXTRACTTEMPLATE(1) APT APT-EXTRACTTEMPLATE(1)
2
3
4
6 apt-extracttemplates - Utility to extract debconf config and templates
7 from Debian packages
8
10 apt-extracttemplates [-t=temporary_directory] filename...
11 {-v | --version} {-h | --help}
12
14 apt-extracttemplates will take one or more Debian package files as
15 input and write out (to a temporary directory) all associated config
16 scripts and template files. For each passed in package that contains
17 config scripts and templates, one line of output will be generated in
18 the format:
19
20 package version template-file config-script
21
22 template-file and config-script are written to the temporary directory
23 specified by the -t or --tempdir (APT::ExtractTemplates::TempDir)
24 directory, with filenames of the form package.template.XXXXXX and
25 package.config.XXXXXX
26
28 All command line options may be set using the configuration file, the
29 descriptions indicate the configuration option to set. For boolean
30 options you can override the config file by using something like
31 -f-,--no-f, -f=no or several other variations.
32
33 -t, --tempdir
34 Temporary directory in which to write extracted debconf template
35 files and config scripts. Configuration Item:
36 APT::ExtractTemplates::TempDir
37
38 -h, --help
39 Show a short usage summary.
40
41 -v, --version
42 Show the program version.
43
44 -c, --config-file
45 Configuration File; Specify a configuration file to use. The
46 program will read the default configuration file and then this
47 configuration file. If configuration settings need to be set before
48 the default configuration files are parsed specify a file with the
49 APT_CONFIG environment variable. See apt.conf(5) for syntax
50 information.
51
52 -o, --option
53 Set a Configuration Option; This will set an arbitrary
54 configuration option. The syntax is -o Foo::Bar=bar. -o and
55 --option can be used multiple times to set different options.
56
58 apt.conf(5)
59
61 apt-extracttemplates returns zero on normal operation, decimal 100 on
62 error.
63
65 APT bug page[1]. If you wish to report a bug in APT, please see
66 /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command.
67
69 Jason Gunthorpe
70
71 APT team
72
74 1. APT bug page
75 http://bugs.debian.org/src:apt
76
77
78
79APT 2.3.11 27 March 2014 APT-EXTRACTTEMPLATE(1)