Ask Your Question

Revision history [back]

Problem with libhdf5 dependency

Recently I had an issue updating my Fuerte packages. When I ran

$ sudo apt-get upgrade

I received the error

"E: Unable to correct problems, you have held broken packages."

for 12 packages.

After digging into the issue, I found that ros-fuerte-perception-pcl requires libhdf5-serial-dev. However, I had installed Paraview (which has a PCL viewer plugin) and paraview requires libhdf5-openmpi-dev. It appears these two packages are mutually exclusive.

Because I haven't been using Paraview lately, I decided to uninstall it so I could update my ROS Fuerte install. However, since it was coexisting peacefully before I feel something must have changed.

During the uninstall of Paraview and update of perception-pcl, I noticed that libnetcdf6 can use either libhdf5-serial or -openmpi

$ apt-cache depends libnetcdf6 
libnetcdf6
  Depends: libc6
  Depends: libcurl3-gnutls
  Depends: libgcc1
  Depends: libgfortran3
 |Depends: libhdf5-serial-1.8.4
  Depends: <libhdf5-1.8.4>
    libhdf5-lam-1.8.4
    libhdf5-mpich-1.8.4
    libhdf5-openmpi-1.8.4
    libhdf5-serial-1.8.4
  Depends: libstdc++6
  Conflicts: libnetcdf6:i386

Could perception-pcl be modified to accept either also? This would allow Paraview installation again.

Yes, I'm also going to query the Ubuntu package maintainers about doing the same with Paraview.