package openmpi-bin 4.1.2-2ubuntu1 failed to install/upgrade: installed openmpi-bin package post-installation script subprocess returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openmpi (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Get this error while upgrading java version on my Ubuntu 22.04 laptop
lsb_release -a:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.2 LTS
Release: 22.04
Codename: jammy
uname -a
Linux dell-Inspiron-5559 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
I was trying to upgrade the default-jre installed on my laptop:
current version installed:
java -version:
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
apt-cache policy default-jre
default-jre:
Installed: 2:1.11-72build2
Candidate: 2:1.11-72build2
Version table:
*** 2:1.11-72build2 500
500 http://
100 /var/lib/
I try to upgrade java:
sudo apt install default-jre
Get the following error during installation:
>>>>>>
Setting up openmpi-bin (4.1.2-2ubuntu1) ...
update-
/usr/bin/mpicc
dpkg: error processing package openmpi-bin (--configure):
installed openmpi-bin package post-installation script subprocess returned error exit status 2
dpkg: dependency problems prevent configuration of mpi-default-bin:
mpi-default-bin depends on openmpi-bin; however:
Package openmpi-bin is not configured yet.
dpkg: error processing package mpi-default-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libcoarrays-
libcoarrays-
Package openmpi-bin is not configured yet.
dpkg: error processing package libcoarrays-
dependency problems - leaving unconfigured
Setting up libatk-
No apport report written because the error message indicates its a followup error from a previous
failure.
No apport report written because the error message indicates its a followup error from a
previous failure.
>>>>>>>>
Fails the installation with the following error message:
Errors were encountered while processing:
openmpi-bin
mpi-default-bin
libcoarrays-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Really appreciate if you could help. Thanks
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: openmpi-bin 4.1.2-2ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-67-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
Date: Mon Mar 20 20:59:16 2023
ErrorMessage: installed openmpi-bin package post-installation script subprocess returned error exit status 2
InstallationDate: Installed on 2016-06-28 (2456 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.8
SourcePackage: openmpi
Title: package openmpi-bin 4.1.2-2ubuntu1 failed to install/upgrade: installed openmpi-bin package post-installation script subprocess returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.