Wow, that worked! Sorry for not understanding that that had to be prepended to both commands.
Lesson learned! Thank you and please feel free to close this bug report now (I have no idea how to do that). - Greg > On May 31, 2023, at 10:31 PM, Emmanuel Bouthenot <kol...@openics.org> wrote: > > Hello (again), > > On Wed, May 31, 2023 at 03:26:23PM -0700, Greg wrote: > [...] > >> RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && \ >> apt-get install -yq --no-install-recommends msmtp-mta s-nail htop dialog >> less paxctl sudo > > I didn't noticed it in the first place but you also have to set the > noninteractive frontend when installing/updating the package not only > when updating the packages index. > > Try: > RUN DEBIAN_FRONTEND=noninteractive apt-get -y update && > DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends > msmtp-mta s-nail htop dialog less paxctl sudo > > If it works as expected it's far better than preseeding (suggested in my > previous reply). > > Have a nice day. > > Regards, > > -- > Emmanuel Bouthenot > kolter@{openics,debian}.org kolter@{libera,oftc} > 0x929D42C3/4096R