package postfix 2.11.0-1ubuntu1 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
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
ProcVersionSign
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.
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-
PostconfMyorigin: /etc/mailname
RelatedPackageV
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)
tags: | removed: need-duplicate-check |
From the log: VIO?sebastian- vio.rainworks. local apt/archives/ postfix_ 3.1.0-3_ amd64.deb (--unpack):
postconf: warning: valid_hostname: invalid character 10(decimal): sebastian-
postconf: fatal: unable to use my own hostname
dpkg: error processing archive /var/cache/
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. VIO.localdomain
Now you seem to have:
PostconfMydomain: localdomain
PostconfMyhostname: sebastian-
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.