Package: liblognorm2 Version: 1.1.1-1 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 liblognorm1 # (1) apt-get install liblognorm2 apt-get remove liblognorm2 # (2) The list of installed files at points (1) and (2) should be identical, but the following files have disappeared: /usr/lib/x86_64-linux-gnu/lognorm/lognormalizer 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 liblognorm2 package has the following relationships with liblognorm1: Conflicts: n/a Breaks: n/a Replaces: liblognorm0, liblognorm1 >From the attached log (scroll to the bottom...): 0m43.5s ERROR: FAIL: After purging files have disappeared: /usr/lib/x86_64-linux-gnu/lognorm/lognormalizer owned by: liblognorm2:amd64 0m43.5s ERROR: FAIL: After purging files have been modified: /var/lib/dpkg/info/liblognorm1:amd64.list not owned cheers, Andreas
liblognorm1=1.0.1-3_liblognorm2=1.1.1-1.log.gz
Description: application/gzip