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" [
5 <!ENTITY % aptent SYSTEM
"apt.ent">
8 <!ENTITY % aptverbatiment SYSTEM
"apt-verbatim.ent">
16 &apt-author.jgunthorpe;
20 <!-- The last update date -->
21 <date>2012-
06-
09T00:
00:
00Z
</date>
25 <refentrytitle>apt-extracttemplates
</refentrytitle>
26 <manvolnum>1</manvolnum>
27 <refmiscinfo class=
"manual">APT
</refmiscinfo>
30 <!-- Man page title -->
32 <refname>apt-extracttemplates
</refname>
33 <refpurpose>Utility to extract
<command>debconf
</command> config and templates from Debian packages
</refpurpose>
36 &synopsis-command-apt-extracttemplates;
38 <refsect1><title>Description
</title>
39 <para><command>apt-extracttemplates
</command> will take one or more Debian package files
40 as input and write out (to a temporary directory) all associated config
41 scripts and template files. For each passed in package that contains
42 config scripts and templates, one line of output will be generated
44 <para>package version template-file config-script
</para>
45 <para>template-file and config-script are written to the temporary directory
46 specified by the
<option>-t
</option> or
<option>--tempdir
</option>
47 (
<literal>APT::ExtractTemplates::TempDir
</literal>) directory,
48 with filenames of the form
<filename>package.template.XXXX
</filename> and
49 <filename>package.config.XXXX
</filename></para>
52 <refsect1><title>options
</title>
56 <varlistentry><term><option>-t
</option></term><term><option>--tempdir
</option></term>
58 Temporary directory in which to write extracted
<command>debconf
</command> template files
60 Configuration Item:
<literal>APT::ExtractTemplates::TempDir
</literal></para></listitem>
70 <refsect1><title>See Also
</title>
71 <para>&apt-conf;
</para>
74 <refsect1><title>Diagnostics
</title>
75 <para><command>apt-extracttemplates
</command> returns zero on normal operation, decimal
100 on error.
</para>