package mcollective 1.2.1+dfsg-2ubuntu1 failed to install/upgrade: mcollective triggers failed when installing mcollective-plugins

Bug #999996 reported by martin suchanek
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mcollective (Ubuntu)
Fix Released
Medium
Marc Cluet
Precise
Fix Released
Undecided
Unassigned

Bug Description

just nistallation

lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

apt-cache policy mcollective
mcollective:
  Installed: 1.2.1+dfsg-2ubuntu1
  Candidate: 1.2.1+dfsg-2ubuntu1
  Version table:
 *** 1.2.1+dfsg-2ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

expecting properly installation.

happened:

Processing triggers for mcollective ...
postinst called with unknown argument `triggered'
dpkg: error processing mcollective (--unpack):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mcollective

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: mcollective 1.2.1+dfsg-2ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Wed May 16 00:40:54 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
PackageArchitecture: all
SourcePackage: mcollective
Title: package mcollective 1.2.1+dfsg-2ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2011-10-15 (213 days ago)

############## SRU ###############
[Impact]
Package mcollective will break when called with "triggered"

[Development Fix]
Fixed on package mcollective-2.0.0-1ubuntu1 for quantal

[Stable Fix]
Added triggered code from new debian package (debian had the same issue)

[Test Case]
Install mcollective-plugins-* package, mcollective should restart by the "triggered" option

[Regression Potential]
Very unlikely

Revision history for this message
martin suchanek (martin-suc) wrote :
tags: removed: need-duplicate-check
Revision history for this message
James Page (james-page) wrote :

Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for mcollective ...
postinst called with unknown argument `triggered'
dpkg: error processing mcollective (--unpack):
 subprocess installed post-installation script returned error exit status 1

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

Confirmed:

apt-get install mcollective-plugins-\*

Result:

Processing triggers for mcollective ...
postinst called with unknown argument `triggered'
dpkg: error processing mcollective (--unpack):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 mcollective
E: Sub-process /usr/bin/dpkg returned an error code (1)

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

Running:

sudo apt-get -f install

Fixed this up but it definitely a bug.

Changed in mcollective (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: package mcollective 1.2.1+dfsg-2ubuntu1 failed to install/upgrade:
- subprocess installed post-installation script returned error exit status
- 1
+ mcollective triggers failed when isntalling plugins
summary: package mcollective 1.2.1+dfsg-2ubuntu1 failed to install/upgrade:
- mcollective triggers failed when isntalling plugins
+ mcollective triggers failed when installing mcollective-plugins
Revision history for this message
Marc Cluet (lynxman) wrote :

Will generate new version for SRU and also inform the debian team about it

Changed in mcollective (Ubuntu):
assignee: nobody → Marc Cluet (lynxman)
Revision history for this message
Marc Cluet (lynxman) wrote :
description: updated
Revision history for this message
Steve Langasek (vorlon) wrote :

Unsubscribing motu-sru, which is no longer an active team. Please follow the SRU process described at <https://wiki.ubuntu.com/StableReleaseUpdates#Procedure>.

Revision history for this message
Marc Cluet (lynxman) wrote :

Oops apologies Steve

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Thanks a lot for your work here. Sponsored in both quantal and precise for the SRU. Excellent work :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mcollective - 1.2.1+dfsg-2ubuntu2

---------------
mcollective (1.2.1+dfsg-2ubuntu2) quantal; urgency=low

  * Fixed trigger issue in mcollective.postinst (LP: #999996)
    - debian/mcollective.postinst: Added triggered option to avoid
      errors when installing plugins
 -- Marc Cluet <email address hidden> Tue, 29 May 2012 17:44:49 +0100

Changed in mcollective (Ubuntu):
status: Triaged → Fix Released
James Page (james-page)
Changed in mcollective (Ubuntu Precise):
milestone: none → ubuntu-12.04.1
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Please test proposed package

Hello martin, or anyone else affected,

Accepted mcollective into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in mcollective (Ubuntu Precise):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
James Page (james-page) wrote :

Testing from precise proposed:

Unpacking nagios-plugins (from .../nagios-plugins_1.4.15-5ubuntu3_all.deb) ...
Processing triggers for mcollective ...
mcollective stop/waiting
mcollective start/running, process 8508
Setting up libpopt0 (1.16-3ubuntu1) ...

LGTM

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mcollective - 1.2.1+dfsg-2ubuntu1.1

---------------
mcollective (1.2.1+dfsg-2ubuntu1.1) precise-proposed; urgency=low

  * Fixed trigger issue in mcollective.postinst (LP: #999996)
    - debian/mcollective.postinst: Added triggered option to avoid
      errors when installing plugins
 -- Marc Cluet <email address hidden> Tue, 29 May 2012 17:44:49 +0100

Changed in mcollective (Ubuntu Precise):
status: Fix Committed → Fix Released
Revision history for this message
martin suchanek (martin-suc) wrote :

Installation works.

but I have got error:

init: mcollective main process (32341) terminated with status 1
init: mcollective respawning too fast, stopped

could you please help ?
thank you.

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.