Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
25
rated 0 times [  25] [ 0]  / answers: 1 / hits: 37960  / 1 Year ago, wed, april 12, 2023, 12:21:51

Take the acroread or libpam-ldap packages as examples.



Even when installed with apt-get --force-yes they still ask questions:




  • acroread wants to know whether acrobat should be the standard PDF reader (how to assume yes?)

  • libpam-ldap What's your LDAP-Servers URI, version, password, ...? (how to just assume anything, the ldap.conf will be overwritten by puppet anyway)



Is there a "for god's sake assume anything and stop nagging"-switch for apt-get?


More From » apt

 Answers
1

Try:



export DEBIAN_FRONTEND=noninteractive
apt-get -y install package1 package2

[#30737] Wednesday, April 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
peratingcit

Total Points: 253
Total Questions: 122
Total Answers: 94

Location: Botswana
Member since Sat, Jan 7, 2023
1 Year ago
;