On 2023-02-01 14:00, Julian Andres Klode wrote:
When I install a package with the -y flag, according to the man page should give me a noninteractive mode. However, it still uses the Dialog frontend. See the following output:We should fix the manual page because -y does not work for all prompts, luckily, but also debconf is not part of apt so like other hooks it can prompt on its own.
Thanks for a quick answer, so -y only affects questions such as "The following additional packages will be installed:" "Do you want to continue?" ?
Perhaps the documentation could be worded: -y, --yes, --assume-yesRun non-interactively, assuming "yes" as answer to unimportant questions. Abort
in undesirable situations, such as changing a heldpackage, trying to install an unauthenticated package or removing an essential package. Does not affect prompts generated by hooks such as debconf.
Configuration Item: APT::Get::Assume-Yes.