Differences between revisions 19 and 20
Revision 19 as of 2022-12-04 12:49:30
Size: 2948
Editor: ThiagoPezzo
Comment: make translation header easier to add translations
Revision 20 as of 2022-12-05 04:03:31
Size: 2962
Editor: PaulWise
Comment: minor cleanup
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
Line 18: Line 19:
# dpkg-reconfigure debconf sudo dpkg-reconfigure debconf
Line 22: Line 23:
Line 28: Line 30:
In the same way, you can configure debconf-enabled packages by typing {{{dpkg-reconfigure packagename}}} and answering configuration questions. In the same way, you can configure debconf-enabled packages by typing {{{sudo dpkg-reconfigure packagename}}} and answering configuration questions.
Line 31: Line 33:

Translation(s): English - Italiano - Português (Brasil) - Русский

DebianPackage > debconf

disambiguation : This page is about Debian configuration management system.
For Debian Conferences, see DebConf.

debconf is, to put it simply, "Install Shield Wizards Done Right", and is one of the main advantages of DebianAndOtherDistros.

More specifically, when installing (or upgrading) any single package or a group of packages, debconf asks the packages' configuration questions all at once, and stores the user/admin preferences in a database. Later as the packages are installing, their scripts use the configuration preferences in the database to generate configuration files and otherwise do administrative tasks (e.g. set up servers to start or not start, install other software such as libdvdcss, etc.). This saves the hassle of editing configuration files by hand, and also of waiting for each individual package to install before responding to certain configuration questions.

To run it, type in a console:

sudo dpkg-reconfigure debconf


The User/Administrator (root) can configure the following aspects of debconf behavior:

  • Ask again: debconf by default does not re-ask old configuration questions during upgrade of a package, instead it uses old answers to generate new versions of configuration files, providing seamless upgrade capability. But this behavior can be changed so such questions are always asked (with old answers provided as defaults).
  • Frontend: debconf can ask its questions using interfaces from plain text to Dialog (default) to GNOME control applet.

  • Priority: all questions are assigned priority levels, either low, medium, high or critical, and the user/admin can decide below what priority level they would like debconf to use the default configuration answer without asking (the default being high).

In the same way, you can configure debconf-enabled packages by typing sudo dpkg-reconfigure packagename and answering configuration questions.

See also