Package: gir1.2-dee-1.0 Version: 1.0.10-1 Severity: serious User: [email protected] Usertags: piuparts replaces-without-breaks
Hi, during a test with piuparts and EDOS 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 gir1.2-dee-0.5 # (1) apt-get install gir1.2-dee-1.0 apt-get remove gir1.2-dee-1.0 # (2) The list of installed files at points (1) and (2) should be identical, but the following files have disappeared: /usr/lib/python2.6/dist-packages/gi/overrides/Dee.py /usr/lib/python2.7/dist-packages/gi/overrides/Dee.py This is a serious bug violating policy 7.6, see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces and also see the footnote that describes this incorrect behavior http://www.debian.org/doc/debian-policy/footnotes.html#f53 The gir1.2-dee-1.0 package has the following relationships with gir1.2-dee-0.5: Conflicts: n/a Breaks: n/a Replaces: gir1.2-dee-0.5 >From the attached log (scroll to the bottom...): 0m25.1s ERROR: FAIL: After purging files have disappeared: /usr/lib/python2.6/dist-packages/gi/overrides/Dee.py -> ../../../../../share/pyshared/gi/overrides/Dee.py owned by: gir1.2-dee-1.0 /usr/lib/python2.7/dist-packages/gi/overrides/Dee.py -> ../../../../../share/pyshared/gi/overrides/Dee.py owned by: gir1.2-dee-1.0 /usr/share/pyshared/gi/overrides/Dee.py owned by: gir1.2-dee-1.0 0m25.1s ERROR: FAIL: After purging files have been modified: /var/lib/dpkg/info/gir1.2-dee-0.5.list not owned cheers, Andreas
gir1.2-dee-0.5=0.5.22-1_gir1.2-dee-1.0=1.0.10-1.log.gz
Description: GNU Zip compressed data

