[Bug 1806501] Re: package amavisd-new 1:2.11.0-1ubuntu2 failed to install/upgrade: installed amavisd-new package post-installation script subprocess returned error exit status 1
Andreas Hasenack
andreas at canonical.com
Thu Dec 6 01:05:09 UTC 2018
Thanks for filing this bug in Ubuntu.
This is the error that was reported in the logs you supplied:
invoke-rc.d: initscript amavis, action "start" failed.
● amavis.service - LSB: Starts amavisd-new mailfilter
Loaded: loaded (/etc/init.d/amavis; generated)
Active: failed (Result: exit-code) since Mon 2018-12-03 16:06:06 MST; 3ms ago
Docs: man:systemd-sysv-generator(8)
Process: 19888 ExecStart=/etc/init.d/amavis start (code=exited, status=1/FAILURE)
Dec 03 16:06:06 dmabe-System-Product-Name systemd[1]: Starting LSB: Starts amavisd-new mailfilter...
Dec 03 16:06:06 dmabe-System-Product-Name amavis[19888]: Starting amavisd: The value of variable $myhostname is "dmabe-System-Product-Name", but should have been
Dec 03 16:06:06 dmabe-System-Product-Name amavis[19888]: a fully qualified domain name; perhaps uname(3) did not provide such.
Dec 03 16:06:06 dmabe-System-Product-Name amavis[19888]: You must explicitly assign a FQDN of this host to variable $myhostname
Dec 03 16:06:06 dmabe-System-Product-Name amavis[19888]: in /etc/amavis/conf.d/05-node_id, or fix what uname(3) provides as a host's
Dec 03 16:06:06 dmabe-System-Product-Name amavis[19888]: network name!
Dec 03 16:06:06 dmabe-System-Product-Name amavis[19888]: (failed).
Dec 03 16:06:06 dmabe-System-Product-Name systemd[1]: amavis.service: Control process exited, code=exited status=1
Dec 03 16:06:06 dmabe-System-Product-Name systemd[1]: amavis.service: Failed with result 'exit-code'.
Dec 03 16:06:06 dmabe-System-Product-Name systemd[1]: Failed to start LSB: Starts amavisd-new mailfilter.
It looks like your $myhostname is not a fully qualified domain name
(FQDN). That config file calls "hostname --fqdn" to obtain that value,
and it looks like it's incorrectly configured on your system.
Please inspect /etc/hostname and /etc/hosts and fix your hostname. After
that, the following should resolve the installation:
sudo apt update
sudo apt -f install
** Changed in: amavisd-new (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to amavisd-new in Ubuntu.
https://bugs.launchpad.net/bugs/1806501
Title:
package amavisd-new 1:2.11.0-1ubuntu2 failed to install/upgrade:
installed amavisd-new package post-installation script subprocess
returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/1806501/+subscriptions
More information about the Ubuntu-server-bugs
mailing list