Bug#966823: python2-doc: trying to overwrite '/usr/share/doc/python2/README.Debian', which is also in package python2 2.7.17-2

2020-08-03 Thread Andreas Beckmann
Followup-For: Bug #966823

Hi,

actually both python2 and python2-doc (both version 2.7.18-1) ship
  /usr/share/doc/python2/README.Debian


Andreas



Bug#966823: python2-doc: trying to overwrite '/usr/share/doc/python2/README.Debian', which is also in package python2 2.7.17-2

2020-08-02 Thread Simon McVittie
Package: python2-doc
Version: 2.7.18-1
Severity: serious
Justification: Policy 7.6

> Preparing to unpack .../python2-doc_2.7.18-1_all.deb ...
> Unpacking python2-doc (2.7.18-1) over (2.7.17-2) ...
> dpkg: error processing archive 
> /var/cache/apt/archives/python2-doc_2.7.18-1_all.deb (--unpack):
>  trying to overwrite '/usr/share/doc/python2/README.Debian', which is also in 
> package python2 2.7.17-2
> Errors were encountered while processing:
>  /var/cache/apt/archives/python2-doc_2.7.18-1_all.deb

If this file moved to python2 in 2.7.18-1 (perhaps as a result of the
debhelper compat bump), it probably needs a versioned Breaks/Replaces.

smcv