DEBCONF(7cdebconf)

πŸ“¦
version 0.280ubuntu1 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 the unregister and purge commands 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