Package: libcob4-dev Version: 2.2-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 libcob1-dev # (1) apt-get install libcob4-dev apt-get remove libcob4-dev # (2) The list of installed files at points (1) and (2) should be identical, but the following files have disappeared: /usr/include/libcob.h /usr/include/libcob/common.h /usr/include/libcob/exception.def 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 libcob4-dev package has the following relationships with libcob1-dev: Conflicts: n/a Breaks: n/a Replaces: libcob1-dev >From the attached log (scroll to the bottom...): 0m19.8s ERROR: FAIL: After purging files have disappeared: /usr/include/libcob.h owned by: libcob4-dev /usr/include/libcob/common.h owned by: libcob4-dev /usr/include/libcob/exception.def owned by: libcob4-dev 0m19.8s ERROR: FAIL: After purging files have been modified: /var/lib/dpkg/info/libcob1-dev.list not owned cheers, Andreas
libcob1-dev=1.1-2+b2_libcob4-dev=2.2-1.log.gz
Description: application/gzip