144 lines
3.6 KiB
HTML
144 lines
3.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of DEBCONF-SET-SELECTIONS</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>DEBCONF-SET-SELECTIONS</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"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
debconf-set-selections - insert new values into the debconf database
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
|
|
|
|
|
|
|
|
<PRE>
|
|
debconf-set-selections file
|
|
debconf-get-selections | ssh newhost debconf-set-selections
|
|
|
|
</PRE>
|
|
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
|
|
|
|
<B>debconf-set-selections</B> can be used to pre-seed the debconf database with
|
|
answers, or to change answers in the database. Each question will be marked
|
|
as seen to prevent debconf from asking the question interactively.
|
|
<P>
|
|
|
|
Reads from a file if a filename is given, otherwise from stdin.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>WARNING</H2>
|
|
|
|
|
|
|
|
Only use this command to seed debconf values for packages that will be or
|
|
are installed. Otherwise you can end up with values in the database for
|
|
uninstalled packages that will not go away, or with worse problems
|
|
involving shared values. It is recommended that this only be used to seed
|
|
the database if the originating machine has an identical install.
|
|
<A NAME="lbAF"> </A>
|
|
<H2>DATA FORMAT</H2>
|
|
|
|
|
|
|
|
The data is a series of lines. Lines beginning with a # character are
|
|
comments. Blank lines are ignored. All other lines set the value of one
|
|
question, and should contain four values, each separated by one character
|
|
of whitespace. The first value is the name of the package that owns the
|
|
question. The second is the name of the question, the third value is the
|
|
type of this question, and the fourth value (through the end of the line)
|
|
is the value to use for the answer of the question.
|
|
<P>
|
|
|
|
Alternatively, the third value can be ``seen''; then the preseed line only
|
|
controls whether the question is marked as seen in debconf's database. Note
|
|
that preseeding a question's value defaults to marking that question as
|
|
seen, so to override the default value without marking a question seen, you
|
|
need two lines.
|
|
<P>
|
|
|
|
Lines can be continued to the next line by ending them with a ``\''
|
|
character.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
|
|
|
|
|
|
|
|
<PRE>
|
|
# Force debconf priority to critical.
|
|
debconf debconf/priority select critical
|
|
|
|
# Override default frontend to readline, but allow user to select.
|
|
debconf debconf/frontend select readline
|
|
debconf debconf/frontend seen false
|
|
|
|
</PRE>
|
|
|
|
|
|
<A NAME="lbAH"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><B>--verbose</B>, <B>-v</B><DD>
|
|
|
|
|
|
verbose output
|
|
<DT id="2"><B>--checkonly</B>, <B>-c</B><DD>
|
|
|
|
|
|
only check the input file format, do not save changes to database
|
|
</DL>
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+debconf-get-selections">debconf-get-selections</A></B>(1)
|
|
(available in the debconf-utils package)
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
|
|
|
|
Petter Reinholdtsen <<A HREF="mailto:pere@hungry.com">pere@hungry.com</A>>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="6"><A HREF="#lbAE">WARNING</A><DD>
|
|
<DT id="7"><A HREF="#lbAF">DATA FORMAT</A><DD>
|
|
<DT id="8"><A HREF="#lbAG">EXAMPLES</A><DD>
|
|
<DT id="9"><A HREF="#lbAH">OPTIONS</A><DD>
|
|
<DT id="10"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
<DT id="11"><A HREF="#lbAJ">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:10 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|