[Debconf-devel] Bug#928182: debconf: readline frontend does not show options before prompting user

Heitor Alves de Siqueira halves at canonical.com
Mon Apr 29 15:55:23 BST 2019


Package: debconf
Version: 1.5.71
Severity: normal

Dear Maintainer,

When upgrading packages with apt or dpkg, debconf scripts are ran
through 'run-parts' with the '--report' flag. This causes script output
to be handled through pipes set up by run-parts, and buffers output from
maintainer scripts nicely for formatting.

If debconf makes use of the readline frontend, any prompts will bypass
the run-parts buffers and be displayed directly to /dev/tty. This
generally causes the prompt to be displayed before the user gets any of
the available options for it, and printing will block until the user
inputs a valid option.



More information about the Debconf-devel mailing list