Package: manpages-dev
Version: 
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 libaio-dev
  # (1)
  apt-get install manpages-dev
  apt-get remove manpages-dev
  # (2)

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

  /usr/share/man/man2/io_cancel.2.gz
  /usr/share/man/man2/io_getevents.2.gz
  /usr/share/man/man2/io_submit.2.gz

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 manpages-dev package has the following relationships with libaio-dev:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  libaio-dev

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

0m22.6s ERROR: FAIL: After purging files have disappeared:
  /usr/share/man/man2/io_cancel.2.gz     owned by: manpages-dev
  /usr/share/man/man2/io_getevents.2.gz  owned by: manpages-dev
  /usr/share/man/man2/io_submit.2.gz     owned by: manpages-dev

0m22.6s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/libaio-dev.list     not owned


cheers,

Attachment: REPL_libaio-dev_manpages-dev.log.gz
Description: GNU Zip compressed data

Reply via email to