187 lines
4.2 KiB
HTML
187 lines
4.2 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of APT-EXTRACTTEMPLATE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>APT-EXTRACTTEMPLATE</H1>
|
|
Section: APT (1)<BR>Updated: 27 March 2014<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
apt-extracttemplates - Utility to extract <B>debconf</B> config and templates from Debian packages
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">
|
|
<B>apt-extracttemplates</B> [<B>-t=</B><B></B><I>temporary_directory</I>] <I>filename</I>... {-v | --version} {-h | --help}
|
|
</DL>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<B>apt-extracttemplates</B>
|
|
<DD>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:
|
|
<P>
|
|
|
|
package version template-file config-script
|
|
<P>
|
|
|
|
template-file and config-script are written to the temporary directory specified by the
|
|
<B>-t</B>
|
|
or
|
|
<B>--tempdir</B>
|
|
(APT::ExtractTemplates::TempDir) directory, with filenames of the form
|
|
package.template.XXXXXX
|
|
and
|
|
package.config.XXXXXX
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
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
|
|
<B>-f-</B>,<B>--no-f</B>,
|
|
<B>-f=no</B>
|
|
or several other variations.
|
|
<P>
|
|
|
|
<B>-t</B>, <B>--tempdir</B>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
Temporary directory in which to write extracted
|
|
<B>debconf</B>
|
|
template files and config scripts. Configuration Item:
|
|
APT::ExtractTemplates::TempDir
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-h</B>, <B>--help</B>
|
|
<DL COMPACT><DT id="3"><DD>
|
|
Show a short usage summary.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-v</B>, <B>--version</B>
|
|
<DL COMPACT><DT id="4"><DD>
|
|
Show the program version.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-c</B>, <B>--config-file</B>
|
|
<DL COMPACT><DT id="5"><DD>
|
|
Configuration File; Specify a configuration file to use. The program will read the default configuration file and then this configuration file. If configuration settings need to be set before the default configuration files are parsed specify a file with the
|
|
<B>APT_CONFIG</B>
|
|
environment variable. See
|
|
<B><A HREF="/cgi-bin/man/man2html?5+apt.conf">apt.conf</A></B>(5)
|
|
for syntax information.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>-o</B>, <B>--option</B>
|
|
<DL COMPACT><DT id="6"><DD>
|
|
Set a Configuration Option; This will set an arbitrary configuration option. The syntax is
|
|
<B>-o Foo::Bar=bar</B>.
|
|
<B>-o</B>
|
|
and
|
|
<B>--option</B>
|
|
can be used multiple times to set different options.
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+apt.conf">apt.conf</A></B>(5)
|
|
<A NAME="lbAG"> </A>
|
|
<H2>DIAGNOSTICS</H2>
|
|
|
|
<P>
|
|
|
|
<B>apt-extracttemplates</B>
|
|
returns zero on normal operation, decimal 100 on error.
|
|
<A NAME="lbAH"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
<P>
|
|
|
|
m[blue]<B>APT bug page</B>m[]<FONT SIZE="-2">[1]</FONT>. If you wish to report a bug in APT, please see
|
|
/usr/share/doc/debian/bug-reporting.txt
|
|
or the
|
|
<B><A HREF="/cgi-bin/man/man2html?1+reportbug">reportbug</A></B>(1)
|
|
command.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
<P>
|
|
|
|
<B>Jason Gunthorpe</B>
|
|
<DL COMPACT><DT id="7"><DD>
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<B>APT team</B>
|
|
<DL COMPACT><DT id="8"><DD>
|
|
</DL>
|
|
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>NOTES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="9"> 1.<DD>
|
|
APT bug page
|
|
<DL COMPACT><DT id="10"><DD>
|
|
<A HREF="http://bugs.debian.org/src:apt">http://bugs.debian.org/src:apt</A>
|
|
</DL>
|
|
|
|
<P>
|
|
</DL>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="14"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="15"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="16"><A HREF="#lbAG">DIAGNOSTICS</A><DD>
|
|
<DT id="17"><A HREF="#lbAH">BUGS</A><DD>
|
|
<DT id="18"><A HREF="#lbAI">AUTHORS</A><DD>
|
|
<DT id="19"><A HREF="#lbAJ">NOTES</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:07 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|