apt-extracttemplates
APT-EXTRACTTEMPLATES(S)                   APT-EXTRACTTEMPLATES(S)



NAME
       apt-extracttemplates  -  Utility to extract DebConf config
       and templates from Debian packages

SYNOPSIS
       apt-extracttemplate [ -hv ]  [  -t=temporary  directory  ]
       file...

DESCRIPTION
       apt-extracttemplates  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  tem-
       plates,  one  line of output will be generated in the for-
       mat:

       package version template-file config-script

       template-file and config-script are written to the  tempo-
       rary   directory   specified   by   the  -t  or  --tempdir
       (APT::ExtractTemplates::TempDir>)  directory,  with  file-
       names of the form template.XXXX and config.XXXX

OPTIONS
       All  command  line options may be set using the configura-
       tion file, the  descriptions  indicate  the  configuration
       option  to  set.  For boolean options you can override the
       config file by using something like -f-,--no-f,  -f=no  or
       several other variations.

       -t

       --tempdir
              Temporary  directory  in  which  to write extracted
              debconf template files and config scripts  Configu-
              ration Item: APT::ExtractTemplates::TempDir.

       -h

       --help Show a short usage summary.

       -v

       --version
              Show the program verison.

       -c

       --config-file
              Configuration File; Specify a configuration file to
              use.  The program will read the default  configura-
              tion  file  and  then  this configuration file. See
              apt.conf(f) for syntax information.

       -o

       --option
              Set  a  Configuration  Option;  This  will  set  an
              arbitary  configuration  option.  The  syntax is -o
              Foo::Bar=bar.

SEE ALSO
       apt.conf(f)

DIAGNOSTICS
       apt-extracttemplates returns  zero  on  normal  operation,
       decimal 100 on error.

BUGS
       See the APT bug page <URL:http://bugs.debian.org/apt>.  If
       you  wish  to  report   a   bug   in   APT,   please   see
       /usr/share/doc/debian/bug-reporting.txt or the bug(g) com-
       mand.

AUTHOR
       APT was written by the APT team <apt@packages.debian.org>.



                          12 March 2001   APT-EXTRACTTEMPLATES(S)