Take the acroread or libpam-ldap packages as examples.
Even when installed with apt-get --force-yes they still ask questions:
acroreadwants to know whether acrobat should be the standard PDF reader (how to assume yes?)libpam-ldapWhat's your LDAP-Servers URI, version, password, ...? (how to just assume anything, theldap.confwill be overwritten by puppet anyway)
Is there a "for god's sake assume anything and stop nagging"-switch for apt-get?
export DEBIAN_FRONTEND=noninteractiveneeded or theyoption inapt-getis sufficient? – Kevin Meredith Oct 30 '21 at 03:21