Package: plocate Version: 1.1.7-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 mlocate # (1) apt-get install plocate apt-get remove plocate # (2) The list of installed files at points (1) and (2) should be identical, but the following files have disappeared: /etc/updatedb.conf /usr/share/man/man5/updatedb.conf.5.gz This is a serious bug violating policy 7.6, see https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces and also see the footnote that describes this incorrect behavior: https://www.debian.org/doc/debian-policy/ch-relationships.html#id13 The plocate package has the following relationships with mlocate: Conflicts: n/a Breaks: n/a Replaces: mlocate >From the attached log (scroll to the bottom...): 0m33.2s ERROR: FAIL: After purging files have disappeared: /etc/updatedb.conf owned by: plocate /usr/share/man/man5/updatedb.conf.5.gz owned by: plocate 0m33.2s ERROR: FAIL: After purging files have been modified: /var/lib/dpkg/info/mlocate.list not owned cheers, Andreas
mlocate=0.26-3_plocate=1.1.7-1.log.gz
Description: application/gzip