Package: lieer
Version: 1.2-2
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 gmaillier/stable
  # (1)
  apt-get install lieer
  apt-get remove lieer
  # (2)

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

  /usr/bin/gmi -> ../share/gmailieer/gmi

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 lieer package has the following relationships with gmaillier:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  gmailieer (<< 1.2)
  Provides:  gmailieer

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

0m33.5s ERROR: FAIL: After purging files have disappeared:
  /usr/bin/gmi -> ../share/gmailieer/gmi         owned by: lieer

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


cheers,

Andreas

Attachment: gmailieer=0.10-1_lieer=1.2-2.log.gz
Description: application/gzip

Reply via email to