Bug#706328: libatlas3gf-base: please add Breaks: octave3.2

Andreas Beckmann anbe at debian.org
Sun Apr 28 12:49:13 UTC 2013


Package: libatlas3gf-base
Version: 3.8.4-9
Severity: important
Tags: patch

Hi,

while doing piuparts tests distupgrading from squeeze to wheezy I noticed a
cooperation problem between octave3.2 and liblapack3:

  Preparing to replace libatlas3gf-base 3.8.3-27 (using .../libatlas3gf-base_3.8.4-9_all.deb) ...
  Unpacking replacement libatlas3gf-base ...
  Preparing to replace liblapack3gf 3.2.1-8 (using .../liblapack3gf_3.4.1+dfsg-1_all.deb) ...
  Unpacking replacement liblapack3gf ...
  Selecting previously unselected package liblapack3.
  Unpacking liblapack3 (from .../liblapack3_3.4.1+dfsg-1_amd64.deb) ...
  update-alternatives: warning: alternative /usr/lib/atlas-base/atlas/liblapack.so.3gf (part of link group liblapack.so.3gf) doesn't exist; removing from list of alternatives
  update-alternatives: warning: alternative /usr/lib/lapack/liblapack.so.3gf (part of link group liblapack.so.3gf) doesn't exist; removing from list of alternatives
  update-alternatives: warning: /etc/alternatives/liblapack.so.3gf is dangling; it will be updated with best choice
  Preparing to replace libblas3gf 1.2-8 (using .../libblas3gf_1.2.20110419-5_all.deb) ...
  Unpacking replacement libblas3gf ...
  Selecting previously unselected package libatlas3-base.
  Unpacking libatlas3-base (from .../libatlas3-base_3.8.4-9_amd64.deb) ...
  update-alternatives: warning: alternative /usr/lib/atlas-base/atlas/libblas.so.3gf (part of link group libblas.so.3gf) doesn't exist; removing from list of alternatives
  update-alternatives: warning: alternative /usr/lib/libblas/libblas.so.3gf (part of link group libblas.so.3gf) doesn't exist; removing from list of alternatives
  update-alternatives: warning: /etc/alternatives/libblas.so.3gf is dangling; it will be updated with best choice
  Preparing to replace octave-nan 1.0.9-2 (using .../octave-nan_2.5.5-2_amd64.deb) ...
  Unpacking replacement octave-nan ...
  Preparing to replace octave-tsa 4.0.1-2 (using .../octave-tsa_4.2.4-1_amd64.deb) ...
  Unpacking replacement octave-tsa ...
  Processing triggers for octave3.2 ...
  octave-3.2.4: error while loading shared libraries: liblapack.so.3gf: cannot open shared object file: No such file or directory
  dpkg: error processing octave3.2 (--unpack):
   subprocess installed post-installation script returned error exit status 127
  configured to not write apport reports
  Errors were encountered while processing:
   octave3.2

The full piuparts log is attached.

This is actually dpkg bug #671711: "runs trigger processing even if
dependencies are not satisfied", but a fix has been postponed for jessie
because that would be too intrusive.

So we need to work around this by adding Breaks: octave3.2 to hint apt
to remove octave3.2 early enough (it will be removed anyway) before the
triggers cannot be run any more.

Similar Breaks have been added in libblas3 (#677399) and libarpack2
(#684773) that fixed most of the issues, but there still seem to be some
cornercases left, hopefully libatlas3gf-base will be the last one
needing this.

A patch is attached, I plan to NMU atlas to get this fixed via sid (if
it is still possible to get a fix into wheezy r0) or via
wheezy-proposed-updates for wheezy r1.


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atlas_3.8.4-9.1.dsc.diff
Type: text/x-diff
Size: 1417 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130428/1498ee9d/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: octave-tsa_4.2.4-1.log.gz
Type: application/x-gzip
Size: 54995 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130428/1498ee9d/attachment-0001.bin>


More information about the debian-science-maintainers mailing list