[Debian-astro-maintainers] Bug#877481: casacore-data-tai-utc: trigger problem during upgrade from stretch to buster

Andreas Beckmann anbe at debian.org
Mon Oct 2 06:27:47 UTC 2017


Package: casacore-data-tai-utc
Version: 1.1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + libcasa-measures2

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stretch'.
It installed fine in 'stretch', then the upgrade to 'buster' fails.

The piuparts test was as follows:
* # create stretch chroot with --install-recommends enabled
* apt-get install libcasa-measures2
* # switch sources.list to buster
* apt-get upgrade  # to buster
* # if that hadn't failed the next step would have been apt-get dist-upgrade

>From the attached log (scroll to the bottom...):

[...]
  Setting up python3-casacore (2.1.2-4) ...
  Processing triggers for casacore-data-tai-utc (1.1) ...
  RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
  Traceback (most recent call last):
    File "/usr/bin/casacore-update-tai_utc", line 80, in <module>
      with tables.table(args.output_path) as tbl:
    File "/usr/lib/python3/dist-packages/casacore/tables/table.py", line 311, in __init__
      Table.__init__ (self, tabname, lockopt, opt);
  ImportError: numpy.core.multiarray failed to import
  dpkg: error processing package casacore-data-tai-utc (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for libc-bin (2.24-17) ...
  Processing triggers for ca-certificates (20170717) ...
  Updating certificates in /etc/ssl/certs...
  0 added, 0 removed; done.
  Running hooks in /etc/ca-certificates/update.d...
  done.
  Errors were encountered while processing:
   casacore-data-tai-utc


Looks like some dependency is insufficiently versioned, allowing a
bad partial upgrade to happen.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcasa-measures2_2.3.0-4+b1.log.gz
Type: application/gzip
Size: 24574 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20171002/8d06ef1e/attachment-0001.bin>


More information about the Debian-astro-maintainers mailing list