Confirmed, thanks for reporting this bug.

Here are steps I've used to be able to reproduce this bug, starting from
a clean install with no Octave packages installed:

# apt-get install -y octave-bim octave-msh
# apt-get install -y libhdf5-dev libhdf5-openmpi-7-

The error message is the same:

Removing octave-bim (1.1.3-1) ...
Removing octave-msh (1.0.6-1) ...
Removing gmsh (2.8.3+dfsg-4ubuntu2) ...
Removing libmed1:amd64 (3.0.6-2ubuntu1) ...
dpkg: libhdf5-openmpi-7:amd64: dependency problems, but removing anyway as you 
requested:
 liboctave2:amd64 depends on libhdf5-7; however:
  Package libhdf5-7 is not installed.
  Package libhdf5-openmpi-7:amd64 which provides libhdf5-7 is to be removed.

Removing libhdf5-openmpi-7:amd64 (1.8.11-5ubuntu7) ...
Processing triggers for octave (3.8.1-1ubuntu1) ...
/usr/bin/octave-cli: error while loading shared libraries: libhdf5.so.7: cannot 
open shared object file: No such file or directory
dpkg: error processing package octave (--remove):
 subprocess installed post-installation script returned error exit status 127

and the system is left without any libhdf5* packages installed.

Running

# apt-get -f install

does what it's supposed to do, fixes the problem by installing the
missing dependency, libhdf5-7 in this case, but libhdf5-dev is not
installed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1482007

Title:
  package octave 3.8.1-1ubuntu1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 127

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1482007/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to