Bug#877481: casacore-data-tai-utc: trigger problem during upgrade from stretch to buster

2017-10-09 Thread Andreas Beckmann
Followup-For: Bug #877481

Hi,

I think there are more similar problems left. If there are missing
dependencies in stretch, you may have to use Breaks smewhere as well ...

Attached is a new log still showing the issue.
This is from a stretch system with --install-recommends enabled and
libcasa-measures2 instealled.

The failure happens during 
apt-get upgrade
from stretch to buster. The followup comand would have been
apt-get dist-upgrade
The upgrade process runs smooth if there is no separate apt-get upgrade
run first.


Andreas


libcasa-measures2_2.3.0-4+b1.log.gz
Description: application/gzip


Bug#877481: casacore-data-tai-utc: trigger problem during upgrade from stretch to buster

2017-10-02 Thread Ole Streicher
Control: reassign -1 python3-astropy 2.1.2-4
Control: affects -1 casacore-data-tai-utc

The problem is a missing dependency of python3-astropy from
python3-numpy-abi${ABI}, which needs to be calculated and included in
${python3:Depends}.



Bug#877481: casacore-data-tai-utc: trigger problem during upgrade from stretch to buster

2017-10-02 Thread Andreas Beckmann
Package: casacore-data-tai-utc
Version: 1.1
Severity: serious
Tags: buster sid
User: debian...@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 
  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


libcasa-measures2_2.3.0-4+b1.log.gz
Description: application/gzip