1 <?xml version=
"1.0" encoding=
"utf-8" standalone=
"no"?>
2 <!DOCTYPE refentry PUBLIC
"-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % aptent SYSTEM
"apt.ent"> %aptent;
5 <!ENTITY % aptverbatiment SYSTEM
"apt-verbatim.ent"> %aptverbatiment;
6 <!ENTITY % aptvendor SYSTEM
"apt-vendor.ent"> %aptvendor;
12 &apt-author.jgunthorpe;
16 <!-- The last update date -->
17 <date>2014-
03-
27T00:
00:
00Z
</date>
21 <refentrytitle>apt-extracttemplates
</refentrytitle>
22 <manvolnum>1</manvolnum>
23 <refmiscinfo class=
"manual">APT
</refmiscinfo>
26 <!-- Man page title -->
28 <refname>apt-extracttemplates
</refname>
29 <refpurpose>Utility to extract
<command>debconf
</command> config and templates from Debian packages
</refpurpose>
32 &synopsis-command-apt-extracttemplates;
34 <refsect1><title>Description
</title>
35 <para><command>apt-extracttemplates
</command> will take one or more Debian package files
36 as input and write out (to a temporary directory) all associated config
37 scripts and template files. For each passed in package that contains
38 config scripts and templates, one line of output will be generated
40 <para>package version template-file config-script
</para>
41 <para>template-file and config-script are written to the temporary directory
42 specified by the
<option>-t
</option> or
<option>--tempdir
</option>
43 (
<literal>APT::ExtractTemplates::TempDir
</literal>) directory,
44 with filenames of the form
<filename>package.template.XXXXXX
</filename> and
45 <filename>package.config.XXXXXX
</filename></para>
48 <refsect1><title>options
</title>
52 <varlistentry><term><option>-t
</option></term><term><option>--tempdir
</option></term>
54 Temporary directory in which to write extracted
<command>debconf
</command> template files
56 Configuration Item:
<literal>APT::ExtractTemplates::TempDir
</literal></para></listitem>
66 <refsect1><title>See Also
</title>
67 <para>&apt-conf;
</para>
70 <refsect1><title>Diagnostics
</title>
71 <para><command>apt-extracttemplates
</command> returns zero on normal operation, decimal
100 on error.
</para>