[Python-modules-team] Bug#817187: python-pep8: fails to upgrade from 'testing' - trying to overwrite /usr/lib/python2.7/dist-packages/pep8.py

Andreas Beckmann anbe at debian.org
Tue Mar 8 20:07:22 UTC 2016

Package: python-pep8
Version: 1.7.0-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts


during a test with piuparts I noticed your package fails to upgrade from
It installed fine in 'testing', 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

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

  Selecting previously unselected package python-pep8.
  Preparing to unpack .../python-pep8_1.7.0-1_all.deb ...
  Unpacking python-pep8 (1.7.0-1) ...
  dpkg: error processing archive /var/cache/apt/archives/python-pep8_1.7.0-1_all.deb (--unpack):
   trying to overwrite '/usr/lib/python2.7/dist-packages/pep8.py', which is also in package pep8 1.6.2-0.1
  Errors were encountered while processing:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pep8=1.6.2-0.1_python-pep8=1.7.0-1.log.gz
Type: application/gzip
Size: 12529 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160308/f6356482/attachment-0001.bin>

More information about the Python-modules-team mailing list