Comment 8 for bug 2065546

Revision history for this message
William Hatheway (hathewaywill) wrote : Re: [Bug 2065546] Re: postfix configuration must be set on 24.04 before apt package manager can be used

What you can do to avoid the prompt is setting the DEBIAN_FRONTEND
environment variable to 'noninteractive' when calling apt and the
default values will be used.

how would I do this?

On Tue, May 14, 2024 at 5:30 AM Lucas Kanashiro <email address hidden>
wrote:

> Hi William,
>
> Thanks for taking the time to report this bug and trying to make Ubuntu
> better.
>
> As software evolves it may require new dependencies and that is the case
> here, one of the packages you are installing now has postfix in its
> dependencies tree. This is not a bug, this may happen in a new release.
>
> What you can do to avoid the prompt is setting the DEBIAN_FRONTEND
> environment variable to 'noninteractive' when calling apt and the
> default values will be used.
>
> Marking this bug as Invalid as this is not a bug, but a change behavior
> that is expected between releases.
>
> ** Changed in: postfix (Ubuntu)
> Status: Confirmed => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2065546
>
> Title:
> postfix configuration must be set on 24.04 before apt package manager
> can be used
>
> Status in postfix package in Ubuntu:
> Invalid
>
> Bug description:
> When trying to set up a new 24.04 installation and use the following
> commands, you MUST configure postfix even if it is not installed.
>
> sudo -S apt -y install autoconf automake bison build-essential byacc
> cmake csh curl default-jdk default-jre emacs flex g++ gawk gcc
> gfortran git ksh libcurl4-openssl-dev libjpeg-dev libncurses6
> libpixman-1-dev libpng-dev libtool libxml2 libxml2-dev m4 make ncview
> okular openbox pipenv pkg-config python3 python3-dev python3-pip
> python3-dateutil tcsh unzip xauth xorg time
>
> Even using the askubuntu help page about installing it and purging it
> did not make the bug go away. You have to set up and install postfix
> to use apt.
>
> https://askubuntu.com/questions/1192156/how-to-completely-erase-
> postfix
>
> I expect that the postfix prompt wouldn't show up like I would see in
> 22.04.
>
> Only in 24.04 does this happen.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 24.04
> Package: postfix (not installed)
> ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
> Uname: Linux 6.8.0-31-generic x86_64
> NonfreeKernelModules: nvidia_modeset nvidia
> ApportVersion: 2.28.1-0ubuntu3
> Architecture: amd64
> CasperMD5CheckResult: unknown
> CurrentDesktop: ubuntu:GNOME
> Date: Sun May 12 19:23:17 2024
> InstallationDate: Installed on 2024-05-12 (0 days ago)
> InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64
> (20240424)
> ProcEnviron:
> LANG=en_US.UTF-8
> PATH=(custom, no user)
> SHELL=/bin/bash
> TERM=xterm-256color
> XDG_RUNTIME_DIR=<set>
> SourcePackage: postfix
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/2065546/+subscriptions
>
>