[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1030232: apt-get install -y should use noninteractive debconf frontend



On Wed, Feb 01, 2023 at 01:28:28PM +0100, Christian wrote:
> Package: apt
> Version: 2.4.8
> Severity: minor
> X-Debbugs-Cc: debbugs@kalvdans.no-ip.org
> 
> Dear Maintainer,
> 
> 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.

Setting the noninteractive frontend if you pass -y would be wrong, the
questions may be very important. Just like it would be wrong for -y to
answer y to installing unauthenticated packages, removing essentail
packages and so on.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: