Bug#892874: libmatio-doc: fails to upgrade from 'stable' to 'sid' - trying to overwrite /usr/share/doc/libmatio-dev/NEWS.gz

Andreas Beckmann anbe at debian.org
Wed Mar 14 01:49:24 UTC 2018


Package: libmatio-doc
Version: 1.5.12-1
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
'stable'.
It installed fine in 'stable', then the upgrade to 'sid' 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

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

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

  Selecting previously unselected package libmatio-doc.
  Preparing to unpack .../libmatio-doc_1.5.12-1_all.deb ...
  Unpacking libmatio-doc (1.5.12-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libmatio-doc_1.5.12-1_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/libmatio-dev/NEWS.gz', which is also in package libmatio-dev:amd64 1.5.9-1+b1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libmatio-doc_1.5.12-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmatio-dev=1.5.9-1+b1_libmatio-doc=1.5.12-1.log.gz
Type: application/gzip
Size: 9934 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20180314/a7d61242/attachment-0001.bin>


More information about the debian-science-maintainers mailing list