Hello Greg,

On Wed, May 31, 2023 at 03:26:23PM -0700, Greg wrote:
[...]

> Regarding your commit here: 
> https://salsa.debian.org/kolter/msmtp/-/commit/7633ea472e24bf3be003396a2e4567d101f8cf53
> 
> This has added a TUI when installing the `msmtp-mta` package that
> appears even on non-interactive terminals. This is making it very
> difficult for us to upgrade our Gitlab install which has this command
> in a Dockerfile:
> 
> RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \ apt-get
> install -yq --no-install-recommends msmtp-mta s-nail htop dialog less
> paxctl sudo

Before installing or upgrading msmtp-mta (or msmtp) from your Dockerfile
try to pressed the debconf questions by executing the following
commands:

echo "msmtp msmtp/apparmor boolean false" | debconf-set-selections
echo "msmtp msmtp/security-information error seen" | debconf-set-selections

Let me know if it works.

Have a nice day.

Regards,

-- 
Emmanuel Bouthenot
  kolter@{openics,debian}.org   kolter@{libera,oftc}
  0x929D42C3/4096R

Reply via email to