package postfix 2.9.3-2~12.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1031795 reported by Richard White
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
postfix (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

This has happened several times during routine Update Manager sessions. As far as I know I am not even using Postfix!

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: postfix 2.9.3-2~12.04.1
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic i686
ApportVersion: 2.0.1-0ubuntu11
AptOrdering:
 skype: Install
 skype-bin: Install
 postfix: Configure
 skype-bin: Configure
 skype: Configure
Architecture: i386
Date: Sun Jul 29 13:02:21 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: postfix
Title: package postfix 2.9.3-2~12.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-05-24 (68 days ago)

Revision history for this message
Richard White (ubuntu-hwbqs6tox1bv6csee9psn5309v7488f3dugifm692db2xfq8n1fsz7l87835tr0q36m2p3ftwpoqoy6v6uuahmk4tf5123r12379utugp7nixw2b5j0fw109wufbidpa6fhg010vngvnksae1e) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Scott Kitterman (kitterman) wrote :

Try doing the following:

sudo sh /etc/init.d/postfix stop
sudo dpkg-reconfigure postfix

That should clear it up.

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

Setting up postfix (2.9.3-2~12.04.1) ...

Postfix configuration was not changed. If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
 * Stopping Postfix Mail Transport Agent postfix 
[ OK ]
 * Starting Postfix Mail Transport Agent postfix  postfix/postfix-script: fatal: the Postfix mail system is already running

Does that mean though that the restart action of the init script does not actually make sure postfix is stopped? That seems like a bug. I notice the command does:

        if ! ${CMD} quiet-stop; then
            RET=1
        fi

and a RET of 1 would make it not print [OK], so it seems to me that the quiet-stop command is not actually waiting for postfix to die.

Changed in postfix (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in postfix (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Possibly a duplicate of bug 542307?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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