DEBCONF(7cdebconf)
π DEBCONF β the cdebconf edition π
okay bestie, gather round, because this one is literally the glue of Debian configuration. this page lives in section 7cdebconf (iykyk β it's the cdebconf flavour of the manual), and it's all about running a debconf-using program. π
β¨ NAME β¨
debconf β run a debconf-using program π«Ά
πΈ SYNOPSIS πΈ
debconf [options] command [args]
π¦ DESCRIPTION π¦
so, Debconf is a configuration system for Debian packages. iconic, honestly. if you want the big-picture debconf overview and the docs aimed at sysadmins, go read debconf(7) β that's the main character version. π
the debconf program here runs a program under debconf's control, and it sets that program up to talk with debconf over stdio. the way it works: the program's output is expected to be debconf protocol commands, and the program is expected to read result codes on stdin. yes, it's a whole little conversation. π£οΈ
if you want the full tea on the debconf protocol itself, that's all in debconf-devel(7). go look, no cap. π
β¨ OPTIONS β¨
-opackage,--owner=packageβ tells debconf what package the command it's running is a part of. this one is necessary if you want ownership of registered questions to come out right, and it's what makes theunregisterandpurgecommands work properly. don't skip it, bestie. π-ftype,--frontend=typeβ picks the frontend to use. that's the thing that actually puts questions on your screen.-pvalue,--priority=valueβ sets the minimum priority of question that will actually be displayed. lower-priority questions just... don't show up. β¨-s,--showoldβ redisplays old questions you've already seen before. the been there, seen that questions get a second moment in the spotlight. π¬
π EXAMPLES π
say you're debugging a shell script that uses debconf β very relatable, we've all been there β you might use:
DEBCONF_DEBUG=developer debconf my-shell-prog
or, alternatively, you might use this one:
debconf --frontend=readline sh -x my-shell-prog
look at that sh -x, tracing away. she's thriving. π₯
π SEE ALSO π
π AUTHOR π
Joey Hess <joeyh@debian.org> β we stan. π«Ά
π HISTORY π
ngl, this manpage was "borrowed" from debconf. (the quotes are doing a lot of work there, and honestly, we respect it. π)
okay that's the whole thing, bestie!! go forth and configure π
this was the DEBCONF(7cdebconf) page, brought to you by perl v5.40.1 and the one and only Debconf. mwah, slay, periodt. πβ¨π
π¦ where this page comes from
- debian trixie: cdebconf 0.280 Β· BSD-2-Clause
- ubuntu questing: cdebconf 0.279ubuntu1
- ubuntu resolute: cdebconf 0.280ubuntu1 Β· BSD-2-Clause
- ubuntu stonking: cdebconf 0.280ubuntu1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms