Bug#824756: libhdf4-alt-dev: fails to upgrade from 'sid' - trying to overwrite /usr/include/hdf/H4api_adpt.h

2016-05-19 Thread Bas Couwenberg

Hi Andreas,

Thanks for your work on piuparts.

I've updated the Breaks/Replaces to 4.10 which should resolve the issue.

The upload is on its way to experimental.

Kind Regards,

Bas



Bug#824756: libhdf4-alt-dev: fails to upgrade from 'sid' - trying to overwrite /usr/include/hdf/H4api_adpt.h

2016-05-19 Thread Andreas Beckmann
Package: libhdf4-alt-dev
Version: 4.2.11-1~exp1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

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

  Selecting previously unselected package libhdf4-alt-dev.
  Preparing to unpack .../libhdf4-alt-dev_4.2.11-1~exp1_amd64.deb ...
  Unpacking libhdf4-alt-dev (4.2.11-1~exp1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/libhdf4-alt-dev_4.2.11-1~exp1_amd64.deb (--unpack):
   trying to overwrite '/usr/include/hdf/H4api_adpt.h', which is also in 
package libhdf4-dev 4.2.10-3.2
  Processing triggers for libc-bin (2.22-7) ...
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libhdf4-alt-dev_4.2.11-1~exp1_amd64.deb


cheers,

Andreas


libhdf4-dev=4.2.10-3.2_libhdf4-alt-dev=4.2.11-1~exp1.log.gz
Description: application/gzip