Package: libgssdp-1.0-dev
Version: 0.12.2.1-1
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.

This was observed on a partial upgrade from wheezy to sid.

The installation sequence to reproduce this problem is

  apt-get install gupnp-vala/wheezy
  # (1)
  apt-get install libgssdp-1.0-dev/sid
  apt-get remove libgssdp-1.0-dev
  # (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
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 libgssdp-1.0-dev package has the following relationships with gupnp-vala:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  gupnp-vala (<= 0.10.4)

Adding

  Breaks:  gupnp-vala (<= 0.10.4)

should solve this issue.

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

  Selecting previously unselected package gupnp-vala.
  (Reading database ... 6761 files and directories currently installed.)
  Unpacking gupnp-vala (from .../gupnp-vala_0.10.3-1_amd64.deb) ...
  Setting up gupnp-vala (0.10.3-1) ...

  Selecting previously unselected package libgssdp-1.0-dev.
  Unpacking libgssdp-1.0-dev (from .../libgssdp-1.0-dev_0.12.2.1-1_amd64.deb) 
...
  Replacing files in old package gupnp-vala ...

  Setting up libgssdp-1.0-dev (0.12.2.1-1) ...

  Removing libgssdp-1.0-dev ...


4m11.6s ERROR: FAIL: After purging files have disappeared:
  /usr/share/vala/vapi/gssdp-1.0.deps    owned by: libgssdp-1.0-dev
  /usr/share/vala/vapi/gssdp-1.0.vapi    owned by: libgssdp-1.0-dev

4m11.6s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/gupnp-vala.list     not owned


cheers,

Andreas

Attachment: gupnp-vala=0.10.3-1_libgssdp-1.0-dev=0.12.2.1-1.log.gz
Description: GNU Zip compressed data

Reply via email to