package amavisd doesn't install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
amavisd-new (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I wanted to install amavisd for Ubuntu 16.04 and for that I used Synaptic Package Manager and when it was about to install, an error message got displayed with some red marks.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: amavisd-new 1:2.10.1-2ubuntu1
ProcVersionSign
Uname: Linux 4.13.0-41-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.17
Architecture: amd64
Date: Mon May 21 21:39:18 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2018-05-08 (12 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.4
apt 1.2.26
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 |
Thanks for filing a bug in Ubuntu.
This is the error log: d/amavis; bad; vendor preset: enabled) sysv-generator( 8) /etc/init. d/amavis start [0;1;31m( code=exited, status= 1/FAILURE) [0m
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.
[0;1;31m●[0m amavis.service - LSB: Starts amavisd-new mailfilter
Loaded: loaded (/etc/init.
Active: [0;1;31mfailed[0m (Result: exit-code) since Mon 2018-05-21 21:39:18 IST; 39ms ago
Docs: man:systemd-
Process: 11343 ExecStart=
May 21 21:39:18 omkar6901 amavis[11343]: The value of variable $myhostname...n conf.d/ 05-node_ id,...s
May 21 21:39:18 omkar6901 amavis[11343]: a fully qualified domain name; pe....
May 21 21:39:18 omkar6901 amavis[11343]: You must explicitly assign a FQDN...e
May 21 21:39:18 omkar6901 amavis[11343]: in /etc/amavis/
May 21 21:39:18 omkar6901 amavis[11343]: network name!
May 21 21:39:18 omkar6901 amavis[11343]: (failed).
The file /etc/amavis/ conf.d/ 05-node_ id wants to set a variable to the output of the "hostname --fqdn" command, and it looks like in your case that command is not returning a fully qualified name.
You should inspect your network configuration and hostname setting to find out why you are not getting a fully qualified name back. I suggest to look in /etc/hosts.
As this is a local configuration problem, I'll mark this bug as "incomplete". If new information suggests that this is instead a software defect, then please clarify with a comment and set the bug back to the "new" state.
Thanks