Public bug reported:

# lsb_release -rd 
Description:    Ubuntu Focal Fossa (development branch)
Release:        20.04

# apt-cache policy postfix
postfix:
  Installed: 3.4.10-1ubuntu1
  Candidate: 3.4.10-1ubuntu1
  Version table:
 *** 3.4.10-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

# echo $DEBIAN_FRONTEND               
noninteractive

Preparing to unpack .../postfix_3.4.10-1ubuntu1_amd64.deb ...
Unpacking postfix (3.4.10-1ubuntu1) ...
Setting up postfix (3.4.10-1ubuntu1) ...
Adding group `postfix' (GID 109) ...
Done.
Adding system user `postfix' (UID 106) ...
Adding new user `postfix' (UID 106) with group `postfix' ...
Not creating home directory `/var/spool/postfix'.
Creating /etc/postfix/dynamicmaps.cf
Adding group `postdrop' (GID 110) ...
Done.
setting myhostname: ubuntu-20.04
setting alias maps
setting alias database
setting myorigin
setting destinations: $myhostname, ubuntu-20.04, localhost.04, , localhost
setting relayhost: 
setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
setting mailbox_size_limit: 0
setting recipient_delimiter: +
setting inet_interfaces: all
setting inet_protocols: all
WARNING: /etc/aliases exists, but does not have a root alias.

Postfix (main.cf) is now set up with a default configuration.  If you need to 
make changes, edit /etc/postfix/main.cf (and others) as needed.  To view 
Postfix configuration values, see postconf(1).

After modifying main.cf, be sure to run 'systemctl reload postfix'.

Running newaliases
newaliases: warning: valid_hostname: numeric hostname: 04
newaliases: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter 
value: 04
dpkg: error processing package postfix (--configure):
 installed postfix package post-installation script subprocess returned error 
exit status 75
Processing triggers for systemd (244.3-1ubuntu1) ...
Processing triggers for rsyslog (8.2001.0-1ubuntu1) ...
invoke-rc.d: policy-rc.d denied execution of try-restart.
Processing triggers for libc-bin (2.31-0ubuntu6) ...
Errors were encountered while processing:
 postfix
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu-20:/# dpkg -l | grep postfix
iF  postfix                       3.4.10-1ubuntu1             amd64        
High-performance mail transport agent

** Affects: postfix (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883331

Title:
  DEBIAN_FRONTEND=noninteractive results in failed installation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postfix/+bug/1883331/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to