package amavisd-new 1:2.4.2-6.2ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Asked by crazy_j

Binary package hint: amavisd-new

Upgrades seem to be an issue with all kubuntu major things. adept it's self seems to be very buggy, although it may be charter communications(my cable internet). Kind of doubtful as I did an Install of 7.10 on my mothers computer and she has a diffrent provider, and still had update issues, inside of 7.10, now upgrading to 8.04 seems even tugher.

ProblemType: Package
Architecture: i386
Date: Mon Mar 24 06:06:44 2008
DistroRelease: Ubuntu 7.10
ErrorMessage: subprocess post-installation script returned error exit status 1
Package: amavisd-new 1:2.4.2-6.2ubuntu1
PackageArchitecture: all
SourcePackage: amavisd-new
Title: package amavisd-new 1:2.4.2-6.2ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux Bobbie-Jo 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu amavisd-new Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
crazy_j (slapping-monkeys) said :
#1
Revision history for this message
Scott Kitterman (kitterman) said :
#2

Did you read the error message:

  The value of variable $myhostname is "Bobbie-Jo", 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!

Do what it says and the package installation will finish.

Revision history for this message
crazy_j (slapping-monkeys) said :
#3

I'm new to linux so how do I do that?

Revision history for this message
Scott Kitterman (kitterman) said :
#4

I'm going to convert this over to a support question then so you can get help with it.

Revision history for this message
Scott Kitterman (kitterman) said :
#5

Bug reporter needs help editing his configuration file.

Revision history for this message
Daniel Hahler (blueyed) said :
#6

You should edit /etc/amavis/conf.d/05-node_id and change it so that it defines your hostname in $myhostname.

But using your real hostname "Bobbie-Jo" would still cause the same error.

In fact, it's a bug in amavis, which does not accept hyphens in the hostname, which is valid according to http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names (and otherwise "hostname --fqdn" would not output it, which gets done in the conf file mentioned above).

I'll re-open the bug report and provide a fix for it.

Thank you.

Can you help with this problem?

Provide an answer of your own, or ask crazy_j for more information if necessary.

To post a message you must log in.