Package: python-quantumclient
Version: 2012.1~e3-2
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 quantum-client
  # (1)
  apt-get install python-quantumclient
  apt-get remove python-quantumclient
  # (2)

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

  
/usr/{share/pyshared,lib/python2.?/dist-packages}/quantum/client/{__init__,cli,cli_lib}.py

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 python-quantumclient package has the following relationships with 
quantum-client:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  quantum-client

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

0m23.0s ERROR: FAIL: After purging files have disappeared:
  /usr/bin/quantum       owned by: python-quantumclient
  /usr/lib/python2.6/dist-packages/quantum/client/__init__.py    owned by: 
python-quantumclient
  /usr/lib/python2.6/dist-packages/quantum/client/cli.py         owned by: 
python-quantumclient
  /usr/lib/python2.6/dist-packages/quantum/client/cli_lib.py     owned by: 
python-quantumclient
  /usr/lib/python2.7/dist-packages/quantum/client/__init__.py    owned by: 
python-quantumclient
  /usr/lib/python2.7/dist-packages/quantum/client/__init__.pyc   not owned
  /usr/lib/python2.7/dist-packages/quantum/client/cli.py         owned by: 
python-quantumclient
  /usr/lib/python2.7/dist-packages/quantum/client/cli.pyc        not owned
  /usr/lib/python2.7/dist-packages/quantum/client/cli_lib.py     owned by: 
python-quantumclient
  /usr/lib/python2.7/dist-packages/quantum/client/cli_lib.pyc    not owned
  /usr/share/pyshared/quantum/client/__init__.py         owned by: 
python-quantumclient
  /usr/share/pyshared/quantum/client/cli.py      owned by: python-quantumclient
  /usr/share/pyshared/quantum/client/cli_lib.py  owned by: python-quantumclient

0m23.0s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/quantum-client.list         not owned


cheers,

Andreas

Attachment: REPL_quantum-client_python-quantumclient.log.gz
Description: GNU Zip compressed data

Reply via email to