Package: gr-iqbal Version: 0.37.2-10 Severity: serious User: [email protected] 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 libgnuradio-iqbalance3.7.10/stretch # (1) apt-get install gr-iqbal/buster apt-get remove gr-iqbal # (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/pkgconfig/gnuradio-iqbalance.pc 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 gr-iqbal package has the following relationships with libgnuradio-iqbalance3.7.10: Conflicts: Breaks: libgnuradio-iqbalance3.7.10 (<< 0.37.2-7), libgnuradio-iqbalance3.7.11 (<< 0.37.2-8) Replaces: libgnuradio-iqbalance3.7.10 (<< 0.37.3-7), libgnuradio-iqbalance3.7.11 (<< 0.37.2-8) ^ Notice the typo in the minor version, otherwise this wouldn't have worked at all... According to the packaging changes I see in git, this should be Breaks: libgnuradio-iqbalance3.7.10 (<< 0.37.2-8), libgnuradio-iqbalance3.7.11 (<< 0.37.2-9) Replaces: libgnuradio-iqbalance3.7.10 (<< 0.37.2-8), libgnuradio-iqbalance3.7.11 (<< 0.37.2-9) since * 0.37.2-8 moved gnuradio-iqbalance.pc from libgnuradio-iqbalance3.7.10 to libgnuradio-iqbalance3.7.11 * 0.37.2-9 moved gnuradio-iqbalance.pc from libgnuradio-iqbalance3.7.11 to gr-iqbal >From the attached log (scroll to the bottom...): 1m13.5s DEBUG: Modified(user, group, mode, size, target): /var/lib/dpkg/info/libgnuradio-iqbalance3.7.10.list expected(root, root, - 100644, 502, None) != found(root, root, - 100644, 444, None) 1m13.6s ERROR: FAIL: After purging files have disappeared: /usr/lib/x86_64-linux-gnu/pkgconfig/gnuradio-iqbalance.pc owned by: gr-iqbal 1m13.6s ERROR: FAIL: After purging files have been modified: /var/lib/dpkg/info/libgnuradio-iqbalance3.7.10.list not owned cheers, Andreas
libgnuradio-iqbalance3.7.10=0.37.2-7+b2_gr-iqbal=0.37.2-10.log.gz
Description: application/gzip

