Package: enigma
Version: 1.10~~pre-alpha+r2210-1
Severity: serious
User: debian...@lists.debian.org
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 enigma-data
  # (1)
  apt-get install enigma
  apt-get remove enigma
  # (2)

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

  /usr/share/applications/enigma.desktop

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 enigma package has the following relationships with enigma-data:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  enigma-data

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

0m29.1s ERROR: FAIL: After purging files have disappeared:
  /usr/share/applications/enigma.desktop         owned by: enigma

0m29.1s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/enigma-data.list    not owned


cheers,

Andreas

Attachment: REPL_enigma-data_enigma.log.gz
Description: GNU Zip compressed data

Reply via email to