[Python-modules-team] Bug#810594: python3-smstrade: removal of python3-smstrade/stretch makes files disappear from python-smstrade/jessie

Andreas Beckmann anbe at debian.org
Sun Jan 10 09:48:35 UTC 2016


Package: python3-smstrade
Version: 0.2.4-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts replaces-without-breaks
Control: affects -1 + python-smstrade

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.

According to the (transitive) package relationships
python-smstrade/jessie and python3-smstrade/stretch are co-installable,
so mixing them is possible.

The installation sequence to reproduce this problem is

  apt-get install python-smstrade/jessie
  # (1)
  apt-get install python3-smstrade/stretch
  apt-get remove python3-smstrade
  # (2)

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

  /usr/bin/smstrade_balance
  /usr/bin/smstrade_send
  /usr/share/man/man1/smstrade_balance.1.gz
  /usr/share/man/man1/smstrade_send.1.gz

This is a serious bug violating policy 7.6, see
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces
and also see the footnote that describes this incorrect behavior
https://www.debian.org/doc/debian-policy/footnotes.html#f53

The python3-smstrade package has the following relationships with python-smstrade:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  python-smstrade (<< 0.2.4-4)

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

1m15.2s ERROR: FAIL: After purging files have disappeared:
  /usr/bin/smstrade_balance      owned by: python3-smstrade
  /usr/bin/smstrade_send         owned by: python3-smstrade
  /usr/share/man/man1/smstrade_balance.1.gz      owned by: python3-smstrade
  /usr/share/man/man1/smstrade_send.1.gz         owned by: python3-smstrade

1m15.2s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/python-smstrade.list        not owned

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-smstrade=0.2.4-3_python3-smstrade=0.2.4-4.log.gz
Type: application/gzip
Size: 20042 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160110/a05c6e7d/attachment-0001.bin>


More information about the Python-modules-team mailing list