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

Bug #789613 reported by Arthur Higgins

This bug report was converted into a question: question #159405: package amavisd-new-postfix 1:2.6.5-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1.

64
This bug affects 15 people
Affects Status Importance Assigned to Milestone
amavisd-new (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: amavisd-new

The information on the package failure

nstallArchives() failed: dpkg: warning: parsing file '/var/lib/dpkg/available' near line 5698 package 'ymessenger':
 error in Version string '1.0.4_1': invalid character in version number
(Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 567908 files and directories currently installed.)
Preparing to replace firefox-globalmenu 4.0.1+build1+nobinonly-0ubuntu0.11.04.2 (using .../firefox-globalmenu_4.0.1+build1+nobinonly-0ubuntu0.11.04.3_i386.deb) ...
Unpacking replacement firefox-globalmenu ...
Preparing to replace firefox 4.0.1+build1+nobinonly-0ubuntu0.11.04.2 (using .../firefox_4.0.1+build1+nobinonly-0ubuntu0.11.04.3_i386.deb) ...
Unpacking replacement firefox ...
Preparing to replace firefox-branding 4.0.1+build1+nobinonly-0ubuntu0.11.04.2 (using .../firefox-branding_4.0.1+build1+nobinonly-0ubuntu0.11.04.3_i386.deb) ...
Unpacking replacement firefox-branding ...
Preparing to replace firefox-gnome-support 4.0.1+build1+nobinonly-0ubuntu0.11.04.2 (using .../firefox-gnome-support_4.0.1+build1+nobinonly-0ubuntu0.11.04.3_i386.deb) ...
Unpacking replacement firefox-gnome-support ...
Preparing to replace glib-networking 2.28.5-0ubuntu1 (using .../glib-networking_2.28.6.1-0ubuntu1_i386.deb) ...
Unpacking replacement glib-networking ...
Preparing to replace telepathy-logger 0.2.6-1ubuntu1 (using .../telepathy-logger_0.2.6-1ubuntu1.2_i386.deb) ...
Unpacking replacement telepathy-logger ...
Preparing to replace libtelepathy-logger2 0.2.6-1ubuntu1 (using .../libtelepathy-logger2_0.2.6-1ubuntu1.2_i386.deb) ...
Unpacking replacement libtelepathy-logger2 ...
Preparing to replace python-papyon 0.5.5-1ubuntu1.1 (using .../python-papyon_0.5.5-1ubuntu1.2_all.deb) ...
Unpacking replacement python-papyon ...
Preparing to replace rdesktop 1.6.0-3ubuntu4 (using .../rdesktop_1.6.0-3ubuntu4.1_i386.deb) ...
Unpacking replacement rdesktop ...
Preparing to replace software-center 4.0.1 (using .../software-center_4.0.2_all.deb) ...
Unpacking replacement software-center ...
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.UTF8.cache...
Processing triggers for libglib2.0-0 ...
Processing triggers for python-support ...
Processing triggers for packagekit-backend-aptcc ...
Processing triggers for hicolor-icon-theme ...
Setting up amavisd-new-postfix (1:2.6.5-0ubuntu2) ...
postconf: warning: spf-policyd_time_limit: unknown parameter
Selected policy name, policy-spf, already in master.cf. Master.cf not updated.
Selected service name, smtp-amavis, or smtpd port, 10025, already in master.cf. Master.cf not updated.
 * Stopping Postfix Mail Transport Agent postfix
[ OK ]
 * Starting Postfix Mail Transport Agent postfix
[ OK ]
Stopping amavisd: (not running).
Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory
  The value of variable $myhostname is "arthur-laptop", 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
Setting up firefox (4.0.1+build1+nobinonly-0ubuntu0.11.04.3) ...
Please restart all running instances of firefox, or you will experience problems.
Setting up firefox-globalmenu (4.0.1+build1+nobinonly-0ubuntu0.11.04.3) ...
Setting up firefox-branding (4.0.1+build1+nobinonly-0ubuntu0.11.04.3) ...
Setting up firefox-gnome-support (4.0.1+build1+nobinonly-0ubuntu0.11.04.3) ...
Setting up glib-networking (2.28.6.1-0ubuntu1) ...
Setting up libtelepathy-logger2 (0.2.6-1ubuntu1.2) ...
Setting up telepathy-logger (0.2.6-1ubuntu1.2) ...
Setting up python-papyon (0.5.5-1ubuntu1.2) ...
Setting up rdesktop (1.6.0-3ubuntu4.1) ...
Setting up software-center (4.0.2) ...
/usr/lib/pymodules/python2.7/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
Updating software catalog...this may take a moment.
Software catalog update was successful.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Processing triggers for python-central ...
Errors were encountered while processing:
 amavisd-new-postfix
Updating Debian Packages of System Configurations (dpsyco).
No samba users to configure, skipping.
Updating Debian Packages of System Configurations (dpsyco).
No samba users to configure, skipping.
Updating Debian Packages of System Configurations (dpsyco).
No samba users to configure, skipping.
Setting up amavisd-new-postfix (1:2.6.5-0ubuntu2) ...
postconf: warning: spf-policyd_time_limit: unknown parameter
Selected policy name, policy-spf, already in master.cf. Master.cf not updated.
Selected service name, smtp-amavis, or smtpd port, 10025, already in master.cf. Master.cf not updated.
 * Stopping Postfix Mail Transport Agent postfix
[ OK ]
 * Starting Postfix Mail Transport Agent postfix
[ OK ]
Stopping amavisd: (not running).
Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory
  The value of variable $myhostname is "arthur-laptop", 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

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: amavisd-new-postfix 1:2.6.5-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
Uname: Linux 2.6.38-8-generic-pae i686
NonfreeKernelModules: fglrx
Architecture: i386
Date: Sat May 28 10:28:35 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
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-23 (4 days ago)

Revision history for this message
Arthur Higgins (awhiggins1) wrote :
Revision history for this message
Scott Kitterman (kitterman) wrote :

The error in your configuration is described in the error message in the log included in the bug report. This is system configuration issue and not a bug in the package.

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.