man > debconf-communicate(1)

📘 NAME

debconf-communicate - communicate with debconf

📋 SYNOPSIS

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

🚀 Quick Reference

Use Case Command Description
Query a debconf question value echo get debconf/frontend | debconf-communicate Get the value of a debconf question (e.g., debconf/frontend).
Send any debconf command echo "<command> <args>" | debconf-communicate [package] Send any debconf protocol command to the debconf database (see debconf specification for available commands).

📝 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 AT debian.org>

debconf-communicate(1)
📘 NAME 📋 SYNOPSIS 🚀 Quick Reference 📝 DESCRIPTION 💡 EXAMPLE ⚠️ WARNING 📚 SEE ALSO 👤 AUTHOR

Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 19:04 @216.73.216.23
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!