Package: libgpaste-2-common Version: 42.1-3 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 libgpaste-common/bullseye # (1) apt-get install libgpaste-2-common/bookworm apt-get remove libgpaste-2-common # (2) The list of installed files at points (1) and (2) should be identical, but the following files have disappeared: /usr/share/locale/*/LC_MESSAGES/GPaste.mo 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 The libgpaste-2-common package has the following relationships with libgpaste-common: Conflicts: n/a Breaks: n/a Replaces: libgpaste-common >From the attached log (scroll to the bottom...): 0m24.0s ERROR: FAIL: After purging files have disappeared: /usr/share/locale/de/LC_MESSAGES/GPaste.mo owned by: libgpaste-2-common /usr/share/locale/es/LC_MESSAGES/GPaste.mo owned by: libgpaste-2-common /usr/share/locale/fr/LC_MESSAGES/GPaste.mo owned by: libgpaste-2-common /usr/share/locale/ja/LC_MESSAGES/GPaste.mo owned by: libgpaste-2-common /usr/share/locale/nb_NO/LC_MESSAGES/GPaste.mo owned by: libgpaste-2-common /usr/share/locale/nl_NL/LC_MESSAGES/GPaste.mo owned by: libgpaste-2-common /usr/share/locale/pt_BR/LC_MESSAGES/GPaste.mo owned by: libgpaste-2-common /usr/share/locale/sv/LC_MESSAGES/GPaste.mo owned by: libgpaste-2-common 0m24.0s ERROR: FAIL: After purging files have been modified: /var/lib/dpkg/info/libgpaste-common.list not owned cheers, Andreas
libgpaste-common=3.38.5-1_libgpaste-2-common=42.1-3.log.gz
Description: application/gzip