Package: info Version: 6.7.0.dfsg.2-3 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 texinfo-doc-nonfree # (1) apt-get install info apt-get remove info # (2) The list of installed files at points (1) and (2) should be identical, but the following files have disappeared: /usr/share/info/info-stnd.info.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 info package has the following relationships with texinfo-doc-nonfree: Conflicts: n/a Breaks: n/a Replaces: texinfo-doc-nonfree >From the attached log (scroll to the bottom...): 0m31.5s DEBUG: Modified(user, group, mode, size, target): /var/lib/dpkg/info/texinfo-doc-nonfree.list expected(root, root, - 100644, 25866, None) != found(root, root, - 100644, 25832, None) 0m31.5s ERROR: FAIL: After purging files have disappeared: /usr/share/info/info-stnd.info.gz owned by: info 0m31.5s ERROR: FAIL: After purging files have been modified: /var/lib/dpkg/info/texinfo-doc-nonfree.list not owned cheers, Andreas
texinfo-doc-nonfree=6.5.0-1_info=6.7.0.dfsg.2-3+b1.log.gz
Description: application/gzip