Package: postfix Version: 3.1.4-7 Upgrade from Jessie to Stretch didn't complete, but failed at postfix:
Setting up postfix (3.1.4-7) ... Installing new version of config file /etc/init.d/postfix ... Installing new version of config file /etc/network/if-down.d/postfix ... Installing new version of config file /etc/network/if-up.d/postfix ... Installing new version of config file /etc/postfix/post-install ... Installing new version of config file /etc/postfix/postfix-files ... Installing new version of config file /etc/postfix/postfix-script ... Installing new version of config file /etc/ppp/ip-down.d/postfix ... Installing new version of config file /etc/ppp/ip-up.d/postfix ... Installing new version of config file /etc/resolvconf/update-libc.d/postfix ... Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service → /lib/systemd/system/postfix.service. setting myhostname=jessie-8.0 in /etc/postfix setting explicit chroot on /etc/postfix:smtp/inet/chroot setting explicit chroot on /etc/postfix:pickup/unix/chroot setting explicit chroot on /etc/postfix:cleanup/unix/chroot setting explicit chroot on /etc/postfix:tlsmgr/unix/chroot setting explicit chroot on /etc/postfix:rewrite/unix/chroot setting explicit chroot on /etc/postfix:bounce/unix/chroot setting explicit chroot on /etc/postfix:defer/unix/chroot setting explicit chroot on /etc/postfix:trace/unix/chroot setting explicit chroot on /etc/postfix:verify/unix/chroot setting explicit chroot on /etc/postfix:flush/unix/chroot setting explicit chroot on /etc/postfix:smtp/unix/chroot setting explicit chroot on /etc/postfix:relay/unix/chroot setting explicit chroot on /etc/postfix:showq/unix/chroot setting explicit chroot on /etc/postfix:error/unix/chroot setting explicit chroot on /etc/postfix:retry/unix/chroot setting explicit chroot on /etc/postfix:discard/unix/chroot setting explicit chroot on /etc/postfix:lmtp/unix/chroot setting explicit chroot on /etc/postfix:anvil/unix/chroot setting explicit chroot on /etc/postfix:scache/unix/chroot Postfix (main.cf) is now set up with the changes above. 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 'service postfix reload'. Running newaliases newaliases: warning: valid_hostname: numeric hostname: 0 newaliases: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 0 dpkg: error processing package postfix (--configure): subprocess installed post-installation script returned error exit status 75 dpkg: dependency problems prevent configuration of bsd-mailx: bsd-mailx depends on default-mta | mail-transport-agent; however: Package default-mta is not installed. Package exim4-daemon-light which provides default-mta is not installed. Package mail-transport-agent is not installed. Package postfix which provides mail-transport-agent is not configured yet. Package exim4-daemon-light which provides mail-transport-agent is not installed. dpkg: error processing package bsd-mailx (--configure): dependency problems - leaving unconfigured I then tried by purging postfix and installing it again, but that didn't help either: Unpacking postfix (3.1.4-7) ... Processing triggers for systemd (232-25) ... Processing triggers for man-db (2.7.6.1-2) ... Processing triggers for rsyslog (8.24.0-1) ... Setting up postfix (3.1.4-7) ... Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service → /lib/systemd/system/postfix.service. Adding group `postfix' (GID 117) ... Done. Adding system user `postfix' (UID 110) ... Adding new user `postfix' (UID 110) with group `postfix' ... Not creating home directory `/var/spool/postfix'. Creating /etc/postfix/dynamicmaps.cf Adding group `postdrop' (GID 118) ... Done. setting myhostname: jessie-8.0 setting alias maps setting alias database setting myorigin setting destinations: $myhostname, test.tutpro.com, jessie-8.0, localhost.0, localhost setting relayhost: setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 setting mailbox_command setting mailbox_size_limit: 0 setting recipient_delimiter: + setting inet_interfaces: all setting inet_protocols: all 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 'service postfix reload'. Running newaliases newaliases: warning: valid_hostname: numeric hostname: 0 newaliases: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: 0 dpkg: error processing package postfix (--configure): subprocess installed post-installation script returned error exit status 75 Processing triggers for systemd (232-25) ... Processing triggers for rsyslog (8.24.0-1) ... Errors were encountered while processing: postfix E: Sub-process /usr/bin/dpkg returned an error code (1) I was not able to figure out if this exact issue has already been reported. -- Juha