debconf-communicate - Man Page

communicate with debconf

Synopsis

 echo commands | debconf-communicate [options] [package]

Description

debconf-communicate allows you to communicate with debconf on the fly, from the command line. The package argument is the name of the package which you are pretending to be as you communicate with debconf, and it may be omitted if you are lazy. It reads commands in the form used by the debconf protocol from stdin. For documentation on the available commands and their usage, see the debconf specification.

The commands are executed in sequence. The textual return code of each is printed out to standard output.

The return value of this program is the numeric return code of the last executed command.

Example

 echo get debconf/frontend | debconf-communicate

Print out the value of the debconf/frontend question.

Warning

This program should never be used from a maintainer script of a package that uses debconf! It may however, be useful in debugging.

See Also

debconf-loadtemplate(1)

Author

Joey Hess <joeyh@debian.org>

Referenced By

debconf-devel(7), debconf-loadtemplate(1).

2024-09-07 Debconf