Package: libncurses5-dev,libncursesw5-dev Version: 6.0+20151024-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 ncurses-bin/stretch # (1) apt-get install libncurses5-dev/sid apt-get remove libncurses5-dev/sid # (2) The list of installed files at points (1) and (2) should be identical, but the following files have disappeared: /usr/bin/ncurses5-config /usr/share/man/man1/ncurses5-config.1.gz 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 libncurses5-dev package has the following relationships with ncurses-bin: Conflicts: n/a Breaks: n/a Replaces: ncurses-bin (<< 6.0+20151017) >From the attached log (scroll to the bottom...): 0m50.7s DEBUG: Modified(user, group, mode, size, target): /var/lib/dpkg/info/ncurses-bin.list expected(root, root, - 100644, 994, None) != found(root, root, - 100644, 928, None) 0m50.7s ERROR: FAIL: After purging files have disappeared: /usr/bin/ncurses5-config owned by: libncurses5-dev:amd64 /usr/share/man/man1/ncurses5-config.1.gz owned by: libncurses5-dev:amd64 0m50.7s ERROR: FAIL: After purging files have been modified: /var/lib/dpkg/info/ncurses-bin.list not owned A similar problem exists in the libncursesw5-dev package. cheers, Andreas
ncurses-bin=5.9+20140913-1+b1_libncurses5-dev=6.0+20151024-1.log.gz
Description: application/gzip