Bug#891023: python-tables-doc: fails to upgrade from 'stretch' - trying to overwrite /usr/share/doc/python-tables/README.rst.gz

Andreas Beckmann anbe at debian.org
Wed Feb 21 16:21:52 UTC 2018


Package: python-tables-doc
Version: 3.4.2-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

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
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/#overwriting-files-and-replacing-packages-replaces

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

  Selecting previously unselected package python-tables-doc.
  Preparing to unpack .../11-python-tables-doc_3.4.2-3_all.deb ...
  Unpacking python-tables-doc (3.4.2-3) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-nbbJmI/11-python-tables-doc_3.4.2-3_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/python-tables/README.rst.gz', which is also in package python-tables 3.3.0-5
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-nbbJmI/11-python-tables-doc_3.4.2-3_all.deb

This is probably caused by a behavior change of dh_installdocs in
debhelper compat level 11.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-tables=3.3.0-5_python-tables-doc=3.4.2-3.log.gz
Type: application/gzip
Size: 12430 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20180221/13365aca/attachment-0001.bin>


More information about the debian-science-maintainers mailing list