package postfix 2.11.0-1ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

Bug #1696809 reported by Erik Mullinix
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postfix (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

The error occurs on restart and the error panel obfuscates any access to a log entry

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: postfix 2.11.0-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-79.100-lowlatency 4.4.67
Uname: Linux 4.4.0-79-lowlatency x86_64
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Thu Jun 8 07:51:46 2017
ErrorMessage: subprocess new pre-installation script returned error exit status 1
EtcMailname: mobvio.mon.rainworks.net
Hostname: sebastian-VIO
InstallationDate: Installed on 2012-11-10 (1671 days ago)
InstallationMedia: Ubuntu-Studio 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
PostconfMydomain: localdomain
PostconfMyhostname: sebastian-VIO.localdomain
PostconfMyorigin: /etc/mailname
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.20
ResolvConf:
 # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
 # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
 nameserver 127.0.1.1
SourcePackage: postfix
Title: package postfix 2.11.0-1ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2017-06-08 (0 days ago)

Revision history for this message
Erik Mullinix (charcoal-h) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

From the log:
postconf: warning: valid_hostname: invalid character 10(decimal): sebastian-VIO?sebastian-vio.rainworks.local
postconf: fatal: unable to use my own hostname
dpkg: error processing archive /var/cache/apt/archives/postfix_3.1.0-3_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1

It fails on restarting the server on the upgrade, but it seems to be related to the configuration.
Now you seem to have:
PostconfMydomain: localdomain
PostconfMyhostname: sebastian-VIO.localdomain

I think the "-" is what it can't work with.
Probably because it has to fulfil so many standards with it (smtp and more) it limits that.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for your report.

This looks like a local configuration problem, rather than a bug in Ubuntu.

You can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Since we use this bug tracker to track bugs in Ubuntu, rather than configuration problems, I'm marking this bug as Invalid. This helps us to focus on fixing bugs in Ubuntu.

If you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in postfix (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for postfix (Ubuntu) because there has been no activity for 60 days.]

Changed in postfix (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.