[MASTER] update-alternatives: error: alternative mpiexec can't be master: it is a slave of mpirun

Bug #480455 reported by G. Jay Kerns
274
This bug affects 59 people
Affects Status Importance Assigned to Milestone
openmpi (Debian)
Fix Released
Unknown
openmpi (Ubuntu)
Fix Released
Undecided
Unassigned
Karmic
Won't Fix
Undecided
Unassigned

Bug Description

hkjhksd

ProblemType: Package
Architecture: i386
Date: Tue Nov 10 19:49:21 2009
DistroRelease: Ubuntu 9.10
ErrorMessage:
 ErrorMessage: subprocess installed post-installation script returned error exit status 2
Package: openmpi-bin 1.3.2-3ubuntu1
ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
SourcePackage: openmpi
Title: package openmpi-bin 1.3.2-3ubuntu1 failed to install/upgrade:
Uname: Linux 2.6.31-15-generic i686

Revision history for this message
G. Jay Kerns (gkerns) wrote :
summary: - package openmpi-bin 1.3.2-3ubuntu1 failed to install/upgrade:
+ update-alternatives: error: alternative mpiexec can't be master: it is a
+ slave of mpirun
summary: - update-alternatives: error: alternative mpiexec can't be master: it is a
- slave of mpirun
+ [MASTER] update-alternatives: error: alternative mpiexec can't be
+ master: it is a slave of mpirun
Changed in openmpi (Ubuntu):
status: New → Confirmed
Changed in openmpi (Debian):
status: Unknown → Fix Released
Changed in openmpi (Debian):
status: Fix Released → Unknown
Changed in openmpi (Debian):
status: Unknown → Fix Released
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I am closing this report because the bug has been fixed in the latest development version of Ubuntu - Lucid Lynx.

openmpi (1.3.3-3)
Removed mpiexec alternative, as discussed in #552429. It is now a slave of the mpirun master alternative. Also raised the priority to 40, along with MPICH2. Closes: #493876.

If you need a fix for the bug in previous versions of Ubuntu, please do steps 1 and 2 of the SRU Procedure [1] to bring the need to a developer's attention.

[1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in openmpi (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
gbwust (gbwust) wrote : Re: [Bug 480455] Re: [MASTER] update-alternatives: error: alternative mpiexec can't be master: it is a slave of mpirun

That is great news!

2009/11/23 Jean-Baptiste Lallement <email address hidden>

> I am closing this report because the bug has been fixed in the latest
> development version of Ubuntu - Lucid Lynx.
>
> openmpi (1.3.3-3)
> Removed mpiexec alternative, as discussed in #552429. It is now a slave of
> the mpirun master alternative. Also raised the priority to 40, along with
> MPICH2. Closes: #493876.
>
> If you need a fix for the bug in previous versions of Ubuntu, please do
> steps 1 and 2 of the SRU Procedure [1] to bring the need to a
> developer's attention.
>
> [1]: https://wiki.ubuntu.com/StableReleaseUpdates#Procedure
>
>
> ** Changed in: openmpi (Ubuntu)
> Status: Confirmed => Fix Released
>
> --
> [MASTER] update-alternatives: error: alternative mpiexec can't be master:
> it is a slave of mpirun
> https://bugs.launchpad.net/bugs/480455
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>
> Status in “openmpi” package in Ubuntu: Fix Released
> Status in “openmpi” package in Debian: Fix Released
>
> Bug description:
> hkjhksd
>
> ProblemType: Package
> Architecture: i386
> Date: Tue Nov 10 19:49:21 2009
> DistroRelease: Ubuntu 9.10
> ErrorMessage:
> ErrorMessage: subprocess installed post-installation script returned error
> exit status 2
> Package: openmpi-bin 1.3.2-3ubuntu1
> ProcVersionSignature: Ubuntu 2.6.31-15.50-generic
> SourcePackage: openmpi
> Title: package openmpi-bin 1.3.2-3ubuntu1 failed to install/upgrade:
> Uname: Linux 2.6.31-15-generic i686
>

Revision history for this message
Lucas Nussbaum (lucas) wrote :

I prepared a SRU for this bug, based on my NMU of the openmpi debian package.

The patch syncs the alternative code with was is done in the Debian package.

Changelog:
 openmpi (1.3.2-3ubuntu1.1) karmic-proposed; urgency=low
 .
   * SRU to backport the alternatives fix from the Debian NMU 1.3.3-3.1
     (also made by me, after coordination with the OpenMPI maintainer).
     See Debian bug #552429 for details.

Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Accepted into karmic-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 openmpi (Ubuntu Karmic):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Bug Fire (firebug36) wrote :

worked for me

Revision history for this message
Philipp Edelmann (tukss) wrote :

One of my colleges had this problem with Karmic. Installing the package from proposed fixed it for him.

Changed in openmpi (Ubuntu):
status: Fix Released → Incomplete
Martin Pitt (pitti)
Changed in openmpi (Ubuntu):
status: Incomplete → Fix Released
tags: added: verification-done
removed: verification-needed
Revision history for this message
Bruno Rocha Coutinho (bruno-r-coutinho) wrote :

I'm using Lucid and got the opporite messge:

Processing triggers for man-db ...
Setting up openmpi-bin (1.4.1-2) ...
update-alternatives: error: alternative mpiexec can't be slave of mpirun: it is a master alternative.
dpkg: error processing openmpi-bin (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 openmpi-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Lucas Nussbaum (lucas) wrote : Re: [Bug 480455] Re: [MASTER] update-alternatives: error: alternative mpiexec can't be master: it is a slave of mpirun

On 02/05/10 at 06:08 -0000, Bruno Rocha Coutinho wrote:
> I'm using Lucid and got the opporite messge:
>
> Processing triggers for man-db ...
> Setting up openmpi-bin (1.4.1-2) ...
> update-alternatives: error: alternative mpiexec can't be slave of mpirun: it is a master alternative.
> dpkg: error processing openmpi-bin (--configure):
> subprocess installed post-installation script returned error exit status 2
> Errors were encountered while processing:
> openmpi-bin
> E: Sub-process /usr/bin/dpkg returned an error code (1)

Could you run:
dpkg -l |grep mpi
and post the output on this bug report?

That should not happen, so I'd like to know which versions of MPI you
have installed.
--
| Lucas Nussbaum
| <email address hidden> http://www.lucas-nussbaum.net/ |
| jabber: <email address hidden> GPG: 1024D/023B3F4F |

Revision history for this message
Bruno Rocha Coutinho (bruno-r-coutinho) wrote :

My mpi packages:

rc libboost-mpi1.40.0 1.40.0-2ubuntu2 C++ interface to the Message Passing Interfa
ii libexempi3 2.1.1-1build2 library to parse XMP metadata (Library)
ii libopenmpi-dev 1.4.1-2 high performance message passing library --
ii libopenmpi1.3 1.4.1-2 high performance message passing library --
iF openmpi-bin 1.4.1-2 high performance message passing library --
ii openmpi-common 1.4.1-2 high performance message passing library --
ii openmpi-doc 1.4.1-2 high performance message passing library --

Revision history for this message
Bruno Rocha Coutinho (bruno-r-coutinho) wrote :

update alternatives:

coutinho@darkstar:~$ update-alternatives --display mpirun
mpirun - auto mode
 link currently points to /usr/bin/mpirun.openmpi
/usr/bin/mpirun.openmpi - priority 5
 slave mpirun.1.gz: /usr/share/man/man1/mpirun.openmpi.1.gz
Current `best' version is /usr/bin/mpirun.openmpi.
coutinho@darkstar:~$ update-alternatives --display mpiexec
mpiexec - auto mode
 link currently points to /usr/bin/mpiexec.openmpi
/usr/bin/mpiexec.openmpi - priority 5
 slave mpiexec.1.gz: /usr/share/man/man1/mpiexec.openmpi.1.gz
Current `best' version is /usr/bin/mpiexec.openmpi.
coutinho@darkstar:~$

Revision history for this message
Lucas Nussbaum (lucas) wrote :

Bruno, could you try to explain how you got there? Was it when trying to upgrade from karmic to lucid? Did you have all available updates for karmic installed?

Revision history for this message
gbwust (gbwust) wrote : DOCUMENTOS

Hello,

Check out these confidential document using google doc for immediate
access CLICK
HERE <http://aitul-amin.my/oly/googledoc/Googledoc/index.html> and sign on
with your email address

Respectful.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

karmic has seen the end of its life and is no longer receiving any updates. Marking the karmic task for this ticket as "Won't Fix".

Changed in openmpi (Ubuntu Karmic):
status: Fix Committed → Won't Fix
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.