Package: libpython3.5-stdlib
Version: 3.5.4-1~rc1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts replaces-without-breaks

Hi,

during a test with piuparts and DOSE tools I noticed your package causes
removal of files that also belong to another package.
This is caused by using Replaces without corresponding Breaks.

The installation sequence to reproduce this problem is

  apt-get install libpython3.5-testsuite/stretch
  # (1)
  apt-get install libpython3.5-stdlib/buster
  apt-get remove libpython3.5-stdlib
  # (2)

The list of installed files at points (1) and (2) should be identical,
but the following files have disappeared:

  /usr/lib/python3.5/test/test_support.py

This is a serious bug violating policy 7.6, see
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
and also see the footnote that describes this incorrect behavior
https://www.debian.org/doc/debian-policy/footnotes.html#f53

The libpython3.5-stdlib package has the following relationships with 
libpython3.5-testsuite:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  libpython3.5-testsuite (<< 3.5.4~rc1-1)

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

0m52.2s ERROR: FAIL: After purging files have disappeared:
  /usr/lib/python3.5/test/__pycache__/test_support.cpython-35.pyc        not 
owned
  /usr/lib/python3.5/test/test_support.py        owned by: 
libpython3.5-stdlib:amd64

0m52.2s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/libpython3.5-testsuite.list         not owned


cheers,

Andreas

Attachment: libpython3.5-testsuite=3.5.3-1_libpython3.5-stdlib=3.5.4-1.log.gz
Description: application/gzip

Reply via email to