Package: qpdfview-pdf-poppler-plugin
Version: 0.4.18-4
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 qpdfview/buster
  # (1)
  apt-get install qpdfview-pdf-poppler-plugin/bullseye
  apt-get remove qpdfview-pdf-poppler-plugin
  # (2)

The list of installed files at points (1) and (2) should be identical,
but the following files have disappeared:


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 qpdfview-pdf-poppler-plugin package has the following relationships with 
qpdfview:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  qpdfview (<< 0.4.18-3~)

>From the attached log (scroll to the bottom...):

0m58.0s ERROR: FAIL: After purging files have disappeared:
  /usr/lib/qpdfview/libqpdfview_pdf.so   owned by: qpdfview-pdf-poppler-plugin

0m58.0s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/qpdfview.list       not owned


cheers,

Andreas

Attachment: qpdfview=0.4.17~beta1+git20180709-2_qpdfview-pdf-poppler-plugin=0.4.18-4.log.gz
Description: application/gzip

Reply via email to