package amavisd-new 1:2.11.0-1ubuntu1 failed to install/upgrade: installed amavisd-new package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
amavisd-new (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
1
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: amavisd-new 1:2.11.0-1ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-29-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
AptOrdering:
chromium-
NULL: ConfigurePending
Architecture: amd64
Date: Sat Aug 18 12:20:41 2018
ErrorMessage: installed amavisd-new package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-05-11 (98 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
PackageArchitec
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageV
dpkg 1.19.0.5ubuntu2
apt 1.6.3
SourcePackage: amavisd-new
Title: package amavisd-new 1:2.11.0-1ubuntu1 failed to install/upgrade: installed amavisd-new package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2018-06-21 (57 days ago)
From your log: Product- Name amavis[3367]: Starting amavisd: head: cannot open '/etc/mailname' for reading: No such file or directory Product- Name amavis[3367]: The value of variable $myhostname is "vbif-System- Product- Name", but should have been Product- Name amavis[3367]: a fully qualified domain name; perhaps uname(3) did not provide such. Product- Name amavis[3367]: You must explicitly assign a FQDN of this host to variable $myhostname Product- Name amavis[3367]: in /etc/amavis/ conf.d/ 05-node_ id, or fix what uname(3) provides as a host's Product- Name amavis[3367]: network name!
авг 18 12:20:40 vbif-System-
авг 18 12:20:40 vbif-System-
авг 18 12:20:40 vbif-System-
авг 18 12:20:40 vbif-System-
авг 18 12:20:40 vbif-System-
авг 18 12:20:40 vbif-System-
amavis has to guess your hostname for a valid config and it does so from your hostname.
If that doesn't qualify as FQDN it will fail.
Please adapt the config and the service as well as the upgrade will work