package amavisd-new-postfix 1:2.6.5-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #806237 reported by officermcbride
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
amavisd-new (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

running system updater

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: amavisd-new-postfix 1:2.6.5-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Tue Jul 5 18:37:52 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
PackageArchitecture: all
SourcePackage: amavisd-new
Title: package amavisd-new-postfix 1:2.6.5-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to natty on 2011-05-08 (58 days ago)

Revision history for this message
officermcbride (officermcbride) wrote :
Revision history for this message
James Page (james-page) wrote :

Error from log:

Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory
hostname: Name or service not known
  The value of variable $myhostname is "", 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/conf.d/05-node_id, or fix what uname(3) provides as a host's
  network name!
(failed).
invoke-rc.d: initscript amavis, action "restart" failed.
dpkg: error processing amavisd-new-postfix (--configure):
 subprocess installed post-installation script returned error exit status 1

Revision history for this message
James Page (james-page) wrote :

Thank you for taking the time to report this bug and helping to make
Ubuntu better.

You need to configure your system with a fully qualified domain name -
the error message give some advice and you can find a bit more
information in https://answers.launchpad.net/ubuntu/+source/amavisd-new/+question/163475

As this is not really a bug marking as 'Invalid' - if you need more help
ask through the linked question.

Changed in amavisd-new (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.