How to suppress a message from a program while installing it to use in a bash program?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
PROBLEM:
I have a program written in bash that does a lot of stuff like install new software on the system.
One of the programs it installs has an extravagant message appear where you get some info about usage and the configuration file and what it does if you don't edit the config file.
And then waits for user input.
This message is a dialog
kind of message in a gui:
The program that display's this message is portsentry
and the system is Debian Stretch.
QUESTION:
How can I suppress this message so there is no communication between my program and the user?
shell-script debian scripting software-installation messaging
add a comment |Â
up vote
2
down vote
favorite
PROBLEM:
I have a program written in bash that does a lot of stuff like install new software on the system.
One of the programs it installs has an extravagant message appear where you get some info about usage and the configuration file and what it does if you don't edit the config file.
And then waits for user input.
This message is a dialog
kind of message in a gui:
The program that display's this message is portsentry
and the system is Debian Stretch.
QUESTION:
How can I suppress this message so there is no communication between my program and the user?
shell-script debian scripting software-installation messaging
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
PROBLEM:
I have a program written in bash that does a lot of stuff like install new software on the system.
One of the programs it installs has an extravagant message appear where you get some info about usage and the configuration file and what it does if you don't edit the config file.
And then waits for user input.
This message is a dialog
kind of message in a gui:
The program that display's this message is portsentry
and the system is Debian Stretch.
QUESTION:
How can I suppress this message so there is no communication between my program and the user?
shell-script debian scripting software-installation messaging
PROBLEM:
I have a program written in bash that does a lot of stuff like install new software on the system.
One of the programs it installs has an extravagant message appear where you get some info about usage and the configuration file and what it does if you don't edit the config file.
And then waits for user input.
This message is a dialog
kind of message in a gui:
The program that display's this message is portsentry
and the system is Debian Stretch.
QUESTION:
How can I suppress this message so there is no communication between my program and the user?
shell-script debian scripting software-installation messaging
shell-script debian scripting software-installation messaging
edited 2 hours ago
Jeff Schaller
34.2k851113
34.2k851113
asked 2 hours ago
somethingSomething
1,66093055
1,66093055
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
To avoid questions, instruct debconf
to run non-interactively:
export DEBIAN_FRONTEND=noninteractive
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
To avoid questions, instruct debconf
to run non-interactively:
export DEBIAN_FRONTEND=noninteractive
add a comment |Â
up vote
5
down vote
accepted
To avoid questions, instruct debconf
to run non-interactively:
export DEBIAN_FRONTEND=noninteractive
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
To avoid questions, instruct debconf
to run non-interactively:
export DEBIAN_FRONTEND=noninteractive
To avoid questions, instruct debconf
to run non-interactively:
export DEBIAN_FRONTEND=noninteractive
answered 1 hour ago
Stephen Kitt
151k23336404
151k23336404
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f476312%2fhow-to-suppress-a-message-from-a-program-while-installing-it-to-use-in-a-bash-pr%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password