package dovecot-common 1:1.2.9-1ubuntu6.5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1016558 reported by jurgster
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dovecot (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

update on fri jun 22 2012

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: dovecot-common 1:1.2.9-1ubuntu6.5
ProcVersionSignature: Ubuntu 2.6.32-41.90-generic-pae 2.6.32.59+drm33.24
Uname: Linux 2.6.32-41-generic-pae i686
Architecture: i386
Date: Fri Jun 22 15:43:04 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: dovecot
Title: package dovecot-common 1:1.2.9-1ubuntu6.5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Revision history for this message
jurgster (jurgster-is) wrote :
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Hello jurgster. From your logs, this is the error:

Setting up dovecot-common (1:1.2.9-1ubuntu6.5) ...
Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem
(replace with hand-crafted or authorized one if needed).
hostname: Name or service not known
dpkg: error processing dovecot-common (--configure):
 subprocess installed post-installation script returned error exit status 1

It would appear that dovecot's postinst requires that your hostname be resolvable to an address, and that yours is not.

Please try:

ping `hostname`

If this fails then you may want to make sure that hostname is in /etc/hosts attached to 127.0.0.1. It is expected that the host name of a machine be resolvable at all times.

Once you have fixed the resoultion, doing 'dpkg --configure -a' should finish configuring your updates.

Changed in dovecot (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.