Package: libpython3.6-stdlib,libpython3.7-stdlib Severity: serious User: [email protected] Usertags: piuparts replaces-without-breaks Control: found -1 3.7.0~b2-2 Control: found -1 3.6.5~rc1-3
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 python3-distutils/testing # (1) apt-get install libpython3.6-stdlib/sid apt-get remove libpython3.6-stdlib # (2) The list of installed files at points (1) and (2) should be identical, but the following files have disappeared: /usr/lib/python3.6/distutils/__init__.py /usr/lib/python3.6/distutils/__pycache__/__init__.cpython-36.pyc /usr/lib/python3.6/distutils/__pycache__/version.cpython-36.pyc /usr/lib/python3.6/distutils/version.py This is a serious bug violating policy 7.6, see https://www.debian.org/doc/debian-policy/#overwriting-files-and-replacing-packages-replaces and also see the footnote that describes this incorrect behavior https://www.debian.org/doc/debian-policy/ (old: footnotes.html#f53) [footnote permalink broken (#879048), search for /To see why/] The $OFFENDER package has the following relationships with $VICTIM: Conflicts: n/a Breaks: n/a Replaces: python3-distutils (<< 3.6.5~rc1-2) >From the attached log (scroll to the bottom...): 20m55.4s ERROR: FAIL: After purging files have disappeared: /usr/lib/python3.6/distutils/__init__.py owned by: libpython3.6-stdlib:amd64 /usr/lib/python3.6/distutils/__pycache__/__init__.cpython-36.pyc not owned /usr/lib/python3.6/distutils/__pycache__/version.cpython-36.pyc not owned /usr/lib/python3.6/distutils/version.py owned by: libpython3.6-stdlib:amd64 20m55.4s ERROR: FAIL: After purging files have been modified: /var/lib/dpkg/info/python3-distutils.list not owned cheers, Andreas
python3-distutils=3.6.5~rc1-1_libpython3.6-stdlib=3.6.5~rc1-3.log.gz
Description: application/gzip

