1DEBCONF-SET-SELECTIONS(1) Debconf DEBCONF-SET-SELECTIONS(1)
2
3
4
6 debconf-set-selections - insert new values into the debconf database
7
9 debconf-set-selections file
10 debconf-get-selections | ssh newhost debconf-set-selections
11
13 debconf-set-selections can be used to pre-seed the debconf database
14 with answers, or to change answers in the database. Each question will
15 be marked as seen to prevent debconf from asking the question
16 interactively.
17
18 Reads from a file if a filename is given, otherwise from stdin.
19
21 Only use this command to seed debconf values for packages that will be
22 or are installed. Otherwise you can end up with values in the database
23 for uninstalled packages that will not go away, or with worse problems
24 involving shared values. It is recommended that this only be used to
25 seed the database if the originating machine has an identical install.
26
28 The data is a series of lines. Lines beginning with a # character are
29 comments. Blank lines are ignored. All other lines set the value of one
30 question, and should contain four values, each separated by one
31 character of whitespace. The first value is the name of the package
32 that owns the question. The second is the name of the question, the
33 third value is the type of this question, and the fourth value (through
34 the end of the line) is the value to use for the answer of the
35 question.
36
37 Alternatively, the third value can be "seen"; then the preseed line
38 only controls whether the question is marked as seen in debconf's
39 database. Note that preseeding a question's value defaults to marking
40 that question as seen, so to override the default value without marking
41 a question seen, you need two lines.
42
43 Lines can be continued to the next line by ending them with a "\"
44 character.
45
47 # Force debconf priority to critical.
48 debconf debconf/priority select critical
49
50 # Override default frontend to readline, but allow user to select.
51 debconf debconf/frontend select readline
52 debconf debconf/frontend seen false
53
55 --verbose, -v
56 verbose output
57
58 --checkonly, -c
59 only check the input file format, do not save changes to database
60
62 debconf-get-selections(1) (available in the debconf-utils package)
63
65 Petter Reinholdtsen <pere@hungry.com>
66
67
68
69 2023-07-19 DEBCONF-SET-SELECTIONS(1)