package amavisd-new 1:2.10.1-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
amavisd-new (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Creating config file /etc/default/
Setting up re2c (0.16-1) ...
Setting up spamassassin (3.4.1-3) ...
Adding system user `debian-spamd' (UID 129) ...
Adding new group `debian-spamd' (GID 138) ...
Adding new user `debian-spamd' (UID 129) with group `debian-spamd' ...
Creating home directory `/var/lib/
Setting up sa-compile (3.4.1-3) ...
Running sa-compile (may take a long time)
Setting up spamc (3.4.1-3) ...
Setting up zoo (2.10-28) ...
Setting up amavisd-new (1:2.10.1-2ubuntu1) ...
Creating/updating amavis user account...
Job for amavis.service failed because the control process exited with error code. See "systemctl status amavis.service" and "journalctl -xe" for details.
invoke-rc.d: initscript amavis, action "start" failed.
● amavis.service - LSB: Starts amavisd-new mailfilter
Loaded: loaded (/etc/init.
Active: failed (Result: exit-code) since Mon 2017-05-01 01:04:07 PDT; 9ms ago
Docs: man:systemd-
Process: 14931 ExecStart=
May 01 01:04:07 john-Aspire-5742 amavis[14931]: Starting amavisd: The value of variable $myhostname is "john-Aspire-5742", but should have been
May 01 01:04:07 john-Aspire-5742 amavis[14931]: a fully qualified domain name; perhaps uname(3) did not provide such.
May 01 01:04:07 john-Aspire-5742 amavis[14931]: You must explicitly assign a FQDN of this host to variable $myhostname
May 01 01:04:07 john-Aspire-5742 amavis[14931]: in /etc/amavis/
May 01 01:04:07 john-Aspire-5742 amavis[14931]: network name!
May 01 01:04:07 john-Aspire-5742 amavis[14931]: (failed).
May 01 01:04:07 john-Aspire-5742 systemd[1]: amavis.service: Control process exited, code=exited status=1
May 01 01:04:07 john-Aspire-5742 systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
May 01 01:04:07 john-Aspire-5742 systemd[1]: amavis.service: Unit entered failed state.
May 01 01:04:07 john-Aspire-5742 systemd[1]: amavis.service: Failed with result 'exit-code'.
dpkg: error processing package amavisd-new (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Processing triggers for systemd (229-4ubuntu17) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
mariadb-
mariadb-server
amavisd-new
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: amavisd-new 1:2.10.1-2ubuntu1
ProcVersionSign
Uname: Linux 4.4.0-75-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Mon May 1 01:04:07 2017
DuplicateSignature:
package:
Setting up mariadb-server-10.0 (10.0.29-
dpkg: error processing package mariadb-server-10.0 (--configure):
subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.20
SourcePackage: amavisd-new
Title: package amavisd-new 1:2.10.1-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hi, conf.d/ 05-node_ id, or fix what uname(3) provides as a host's
from the Log
Starting amavisd: The value of variable $myhostname is "john-Aspire-5742", but should have been
a fully qualified domain name; perhaps uname(3) did not provide such.
You must explicitly assign a FQDN of this host to variable $myhostname
in /etc/amavis/
network name!