Package: hylafax-server
Version: 2:6.1~20111227-8
Severity: serious
User: [email protected]
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 capi4hylafax
  # (1)
  apt-get install hylafax-server
  apt-get remove hylafax-server
  # (2)

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

  /var/spool/hylafax/bin
  /var/spool/hylafax

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 hylafax-server package has the following relationships with capi4hylafax:

  Conflicts: capi4hylafax (<< 1:01.02.03-4)
  Breaks:    n/a
  Replaces:  n/a

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

0m31.4s ERROR: FAIL: After purging files have disappeared:
  /var/spool/hylafax/bin         owned by: hylafax-server, capi4hylafax
  /var/spool/hylafax/etc         owned by: hylafax-server, capi4hylafax

0m31.4s ERROR: FAIL: After purging files have been modified:
  /var/spool/hylafax     owned by: hylafax-server, capi4hylafax

As this affects directories, not files, there is probably a problem in
a prerm/postrm maintainer script.


cheers,

Andreas

Attachment: REPL_capi4hylafax_hylafax-server.log.gz
Description: GNU Zip compressed data

Reply via email to