[Python-modules-team] Bug#892711: python-pymodbus-doc: fails to upgrade from 'stable' to 'sid' - trying to overwrite /usr/share/doc/python-pymodbus/examples/common/README.rst

Andreas Beckmann anbe at debian.org
Mon Mar 12 05:54:03 UTC 2018


Package: python-pymodbus-doc
Version: 1.4.0+dfsg-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 python-pymodbus-doc.
  Preparing to unpack .../6-python-pymodbus-doc_1.4.0+dfsg-1_all.deb ...
  Unpacking python-pymodbus-doc (1.4.0+dfsg-1) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-Y42ubM/6-python-pymodbus-doc_1.4.0+dfsg-1_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/python-pymodbus/examples/common/README.rst', which is also in package python-pymodbus 1.2.0+git20151013-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-Y42ubM/6-python-pymodbus-doc_1.4.0+dfsg-1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-pymodbus=1.2.0+git20151013-1_python-pymodbus-doc=1.4.0+dfsg-1.log.gz
Type: application/gzip
Size: 10724 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20180312/2a28bad2/attachment.bin>


More information about the Python-modules-team mailing list