[Debconf-devel] Bug#1023454: debconf-show: add --selections option to format output for debconf-set-selections

Marvin Renich mrvn at renich.org
Fri Nov 4 14:12:58 GMT 2022


Package: debconf
Version: 1.5.79
Severity: wishlist

Please add an option --selections that will output "seen" questions in
the format used as input to debconf-set-selection, and an option --all
that, when used with --selections, will output all questions in that
format.  I.e.

    debconf-show [--selections [--all]] packagename

Although debconf-show --selections --all packagename can be implemented
by

    debconf-get-selections | grep '^packagename\t' # \t replaced by real tab

debconf is priority required and debconf-utils is optional, and
implementing the behavior without --all requires first displaying the
output from debconf-show packagename and then filtering the output of
debconf-get-selections manually.

...Marvin



More information about the Debconf-devel mailing list