7

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:

enter image description here

The program that displays 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?

0

1 Answer 1

15

To avoid questions, instruct debconf to run non-interactively:

export DEBIAN_FRONTEND=noninteractive

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.