Wrong dependencies for Raring13.04

Bug #1169597 reported by Pascal Mons
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netcdf (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

from http://packages.ubuntu.com/precise/libnetcdf6

one of the dependence of libnetcdf6 [Raring] :
"libhdf5-serial-1.8.4
    Hierarchical Data Format 5 (HDF5) - runtime files - serial version
or libhdf5-1.8.4
    virtual package provided by libhdf5-lam-1.8.4, libhdf5-mpich-1.8.4, libhdf5-openmpi-1.8.4, libhdf5-serial-1.8.4"

However the dependencies / conflicts of package libhdf5-7 [Raring] from the package itself is :

"Conflicts: libhdf5-1.8, libhdf5-1.8.4, libhdf5-1.8.6, libhdf5-1.8.7, libhdf5-7, libhdf5-serial-1.8.4, libhdf5-serial-1.8.6, libhdf5-serial-1.8.7
Replaces: libhdf5-1.8.4, libhdf5-1.8.6, libhdf5-1.8.7, libhdf5-serial-1.8.4, libhdf5-serial-1.8.6, libhdf5-serial-1.8.7
Provides: libhdf5-1.8, libhdf5-7"

I encountered this when trying to upgrade to package libnetcdf6 from Raring. Previously I had to install pckage libhdf5-7 [Raring], however since it conflicts and replaces libhdf5-serial-1.8.4 I had to remove it.

However it appears that package libnetcdf6 [Raring] IS NOT AWARE that libhdf5-7 replaces libhdf5-1.8.4 and libhdf5-serial-1.8.4

Hence I am holding "broken packages".

I was upgrading to the latest matplotlib in Precise to those of raring issuing the command :

$ sudo dpkg -i python-matplotlib_1.2.0-1_amd64.deb python-matplotlib-data_1.2.0-1_all.deb fonts-lyx_2.0.3-3_all.deb python-numpy_1.7.0-1ubuntu1_amd64.deb python-glade2_2.24.0-3ubuntu1_amd64.deb python-gtk2_2.24.0-3ubuntu1_amd64.deb python-pygame_1.9.1release+dfsg-8_amd64.deb libblas3_1.2.20110419-5_amd64.deb liblapack3_3.4.2-1~exp3_amd64.deb octave_3.6.4-1_amd64.deb libatlas3gf-base_3.8.4-9ubuntu1_all.deb libfftw3-double3_3.3.3-2ubuntu1_amd64.deb libfftw3-single3_3.3.3-2ubuntu1_amd64.deb libblas3gf_1.2.20110419-5_all.deb liblapack3gf_3.4.2-1~exp3_all.deb libfftw3-3_3.3.3-2ubuntu1_amd64.deb liboctave1_3.6.4-1_amd64.deb octave-common_3.6.4-1_all.deb libgl2ps0_1.3.6-1_amd64.deb libhdf5-7_1.8.9-1~exp3_amd64.deb libnetcdf6_4.1.1-6_amd64.deb libatlas3-base_3.8.4-9ubuntu1_amd64.deb libfftw3-dev_3.3.3-2ubuntu1_amd64.deb libfftw3-bin_3.3.3-2ubuntu1_amd64.deb libfftw3-long3_3.3.3-2ubuntu1_amd64.deb libfftw3-quad3_3.3.3-2ubuntu1_amd64.deb

dpkg: dependency problems prevent configuration of libnetcdf6:
 libnetcdf6 depends on libhdf5-serial-1.8.4 | libhdf5-1.8.4; however:
  Package libhdf5-serial-1.8.4 is not installed.
  Package libhdf5-1.8.4 is not installed.
  Package libhdf5-serial-1.8.4 which provides libhdf5-1.8.4 is not installed.
dpkg: error processing libnetcdf6 (--install):
 dependency problems - leaving unconfigured

Errors were encountered while processing:
 libnetcdf6

Earlier I had to --force-depends to install libhdf5-7 :

$ sudo dpkg -i --force-depends libhdf5-7_1.8.9-1~exp3_amd64.deb
dpkg: considering removing libhdf5-serial-1.8.4 in favour of libhdf5-7 ...
dpkg: warning: ignoring dependency problem with removal of libhdf5-serial-1.8.4:
 libnetcdf6 depends on libhdf5-serial-1.8.4 | libhdf5-1.8.4
  libhdf5-serial-1.8.4 is to be removed.
  libhdf5-serial-1.8.4 provides libhdf5-1.8.4 but is to be removed.

dpkg: warning: ignoring dependency problem with removal of libhdf5-serial-1.8.4:
 libgdal1-1.7.0 depends on libhdf5-serial-1.8.4 | libhdf5-1.8.4
  libhdf5-serial-1.8.4 is to be removed.
  libhdf5-serial-1.8.4 provides libhdf5-1.8.4 but is to be removed.

dpkg: may have trouble removing libhdf5-serial-1.8.4, as it provides libhdf5-1.8.4 ...
dpkg: warning: ignoring dependency problem with removal of libhdf5-serial-1.8.4:
 libnetcdf6 depends on libhdf5-serial-1.8.4 | libhdf5-1.8.4
  libhdf5-serial-1.8.4 is to be removed.
  libhdf5-serial-1.8.4 provides libhdf5-1.8.4 but is to be removed.

dpkg: may have trouble removing libhdf5-serial-1.8.4, as it provides libhdf5-1.8.4 ...
dpkg: warning: ignoring dependency problem with removal of libhdf5-serial-1.8.4:
 libgdal1-1.7.0 depends on libhdf5-serial-1.8.4 | libhdf5-1.8.4
  libhdf5-serial-1.8.4 is to be removed.
  libhdf5-serial-1.8.4 provides libhdf5-1.8.4 but is to be removed.

dpkg: yes, will remove libhdf5-serial-1.8.4 in favour of libhdf5-7.
(Reading database ... 793629 files and directories currently installed.)
Unpacking libhdf5-7 (from libhdf5-7_1.8.9-1~exp3_amd64.deb) ...
Setting up libhdf5-7 (1.8.9-1~exp3) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
$

Can you please fix the dependencies in package "libnetcdf6 [Raring]" ?

Pascal Mons (anton+)
description: updated
Pascal Mons (anton+)
description: updated
description: updated
Pascal Mons (anton+)
description: updated
Revision history for this message
Bas Couwenberg (sebastic) wrote :

This should be fixed in later versions.

Changed in netcdf (Ubuntu):
status: New → Fix Released
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.