man-pages/man1/debconf.1.html
2021-03-31 01:06:50 +01:00

139 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DEBCONF</TITLE>
</HEAD><BODY>
<H1>DEBCONF</H1>
Section: Debconf (1)<BR>Updated: 2019-08-03<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
debconf - run a debconf-using program
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<PRE>
debconf [options] command [args]
</PRE>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
Debconf is a configuration system for Debian packages. For a debconf
overview and documentation for sysadmins, see <B><A HREF="/cgi-bin/man/man2html?7+debconf">debconf</A></B>(7) (in the
debconf-doc package).
<P>
The <B>debconf</B> program runs a program under debconf's control, setting it up
to talk with debconf on stdio. The program's output is expected to be debconf
protocol commands, and it is expected to read result codes on stdin. See
<B><A HREF="/cgi-bin/man/man2html?7+debconf-devel">debconf-devel</A></B>(7) for details about the debconf protocol.
<P>
The command to be run under debconf must be specified in a way that will
let your <FONT SIZE="-1">PATH</FONT> find it.
<P>
This command is not the usual way that debconf is used. It's more typical
for debconf to be used via <B><A HREF="/cgi-bin/man/man2html?8+dpkg-preconfigure">dpkg-preconfigure</A></B>(8) or <B><A HREF="/cgi-bin/man/man2html?8+dpkg-reconfigure">dpkg-reconfigure</A></B>(8).
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-o</B><I>package</I>, <B>--owner=</B><I>package</I><DD>
Tell debconf what package the command it is running is a part of. This is
necessary to get ownership of registered questions right, and to support
unregister and purge commands properly.
<DT id="2"><B>-f</B><I>type</I>, <B>--frontend=</B><I>type</I><DD>
Select the frontend to use.
<DT id="3"><B>-p</B><I>value</I>, <B>--priority=</B><I>value</I><DD>
Specify the minimum priority of question that will be displayed.
<DT id="4"><B>--terse</B><DD>
Enables terse output mode. This affects only some frontends.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>EXAMPLES</H2>
To debug a shell script that uses debconf, you might use:
<P>
<PRE>
DEBCONF_DEBUG=developer debconf my-shell-prog
</PRE>
<P>
Or, you might use this:
<P>
<PRE>
debconf --frontend=readline sh -x my-shell-prog
</PRE>
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?7+debconf-devel">debconf-devel</A></B>(7), <B><A HREF="/cgi-bin/man/man2html?7+debconf">debconf</A></B>(7)
<A NAME="lbAH">&nbsp;</A>
<H2>AUTHOR</H2>
Joey Hess &lt;<A HREF="mailto:joeyh@debian.org">joeyh@debian.org</A>&gt;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="8"><A HREF="#lbAE">OPTIONS</A><DD>
<DT id="9"><A HREF="#lbAF">EXAMPLES</A><DD>
<DT id="10"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="11"><A HREF="#lbAH">AUTHOR</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:09 GMT, March 31, 2021
</BODY>
</HTML>