Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

debconf-communicate(1) [osf1 man page]

DEBCONF-COMMUNICATE(1)						      Debconf						    DEBCONF-COMMUNICATE(1)

NAME
debconf-communicate - 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> 2018-02-28 DEBCONF-COMMUNICATE(1)

Check Out this Related Man Page

DEBCONF(1)							      Debconf								DEBCONF(1)

NAME
debconf - run a debconf-using program SYNOPSIS
debconf [options] command [args] DESCRIPTION
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). OPTIONS
-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. --terse Enables terse output mode. This affects only some frontends. EXAMPLES
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 SEE ALSO
debconf-devel(7), debconf(7) AUTHOR
Joey Hess <joeyh@debian.org> 2018-02-28 DEBCONF(1)
Man Page

We Also Found This Discussion For You

1. What is on Your Mind?

Throw my Toys out of the Pram!

Hi Folks, Today hasn't been the best one of my career in IT. I've been a contractor for a major utility company for a number of years, on a number of seperate IT contracts mostly Unix. The company had 10 different flavours of unix and multiple different varsions of most of them. At the... (3 Replies)
Discussion started by: gull04
3 Replies