package amavisd-new 1:2.10.1-4ubuntu1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
amavisd-new (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
overdose@DMS01:~$ amavisd-new
WARN: running under user '1000' (UID=1000), the config file specifies $daemon_
The value of variable $myhostname is "DMS01", 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!
overdose@DMS01:~$
ProblemType: Package
DistroRelease: Ubuntu 17.04
Package: amavisd-new 1:2.10.1-4ubuntu1
ProcVersionSign
Uname: Linux 4.10.0-37-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
Date: Wed Oct 18 20:37:07 2017
ErrorMessage: sub-processo script post-installation instalado retornou estado de saída de erro 1
InstallationDate: Installed on 2017-09-26 (22 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitec
RelatedPackageV
dpkg 1.18.10ubuntu2
apt 1.4.6~17.04.1
SourcePackage: amavisd-new
Title: package amavisd-new 1:2.10.1-4ubuntu1 failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1
UpgradeStatus: No upgrade log present (probably fresh install)
Hi Davi, conf.d/ 05-node_ id, or fix what uname(3) provides as a
the error is right there in your log:
The value of variable $myhostname is "DMS01", 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/
You might wonder that you haven't set this up but there is no way it can know. conf.d/ 05-node_ id as pointed out by the error.
So the default is that it asks for your hostname via:
hostname --fqdn
See /etc/amavis/
Now DMS01 is not a correct fqdn, configure one explicitly in the amavisd config or change your hostname accordingly then things should work.