Package: ksh,ksh93 Severity: serious User: debian...@lists.debian.org Usertags: piuparts replaces-without-breaks Control: found -1 2020.0.0-5 Control: found -1 93u+20120801-6
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 ksh # (1) apt-get install ksh93 apt-get remove ksh93 # (2) The list of installed files at points (1) and (2) should be identical, but the following files have disappeared: /etc/skel/.kshrc (also happens with both packages swapped) 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 Since you obviously want the two packages to be co-installable, * either move /etc/skel/.kshrc to a separate packages, and let both depend on it * or let only one (ksh) ship it and the other (ksh93) depend on it. >From the attached log (scroll to the bottom...): 1m14.7s DEBUG: Modified(user, group, mode, size, target): /var/lib/dpkg/info/ksh.list expected(root, root, - 100644, 1012, None) != found(root, root, - 100644, 995, None) 1m14.7s ERROR: FAIL: After purging files have disappeared: /etc/skel/.kshrc owned by: ksh93 1m14.7s ERROR: FAIL: After purging files have been modified: /var/lib/dpkg/info/ksh.list not owned cheers, Andreas
ksh=2020.0.0-5_ksh93=93u+20120801-6.gz
Description: application/gzip