Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 753  / 2 Years ago, sun, january 30, 2022, 11:13:17

I'm trying to create an automation script that install Graphite without user interaction (unattended).



I try with the following command:



sudo apt-get -q -y --force-yes install graphite-carbon=0.9.12-3


During the installation, I will be asked whether I want Carbon to remove the database files.



Do you know if there is a way to run an installation without these kind of UI? I have only this problem with Graphite-carbon.


More From » apt

 Answers
1

I have used:



sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y --force-yes install graphite-carbon


Now it works without any confirmation message.


[#22402] Tuesday, February 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
edgehogight

Total Points: 272
Total Questions: 113
Total Answers: 99

Location: Northern Mariana Islands
Member since Sun, Jul 19, 2020
4 Years ago
edgehogight questions
Sat, Sep 11, 21, 22:09, 3 Years ago
Sat, Nov 6, 21, 19:48, 3 Years ago
Fri, Aug 26, 22, 09:37, 2 Years ago
;