Linux Commands Examples

A great documentation place for Linux commands


using program


 debconf [options] command [args]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!



To debug a shell script that uses debconf, you might use:

 DEBCONF_DEBUG=developer debconf my-shell-prog

Or, you might use this:

 debconf --frontend=readline sh -x my-shell-prog


Debconf is a configuration system for Debian packages. For a debconf overview and documentation for sysadmins, see debconf(7) (in the debconf-doc package).

The debconf 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 debconf-devel(7) for details about the debconf protocol.

The command to be run under debconf must be specified in a way that will let your PATH find it.

This command is not the usual way that debconf is used. It’s more typical for debconf to be used via dpkg-preconfigure(8) or dpkg-reconfigure(8).


-opackage, --owner=package

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.

-ftype, --frontend=type

Select the frontend to use.

-pvalue, --priority=value

Specify the minimum priority of question that will be displayed.


Enables terse output mode. This affects only some frontends.

see also

debconf-devel, debconf


Joey Hess <joeyh[:at:]debian[:dot:]org>

How can this site be more helpful to YOU ?

give  feedback