[pkg-wine-party] Bug#788600: fonts-wine{, -development}: removal of fonts-wine-development makes files disappear from libwine{, -development}

Andreas Beckmann anbe at debian.org
Sat Jun 13 01:38:11 UTC 2015


Package: fonts-wine-development,fonts-wine
Version: 1.7.44-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts replaces-without-breaks
Control: affects -1 + libwine libwine-development

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.

The installation sequence to reproduce this problem is

  apt-get install libwine-development/stretch
  # (1)
  apt-get install fonts-wine-development/sid
  apt-get remove fonts-wine-development
  # (2)

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

  /usr/share/wine-development/wine/fonts/*.fon

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 fonts-wine-development package has the following relationships with libwine-development:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  libwine-development (<< 1.7.41-2)

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

0m50.9s ERROR: FAIL: After purging files have disappeared:
  /usr/share/wine-development/wine/fonts/coue1255.fon    owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/coue1256.fon    owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/coue1257.fon    owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/coure.fon       owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/couree.fon      owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/coureg.fon      owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/courer.fon      owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/couret.fon      owned by: fonts-wine-development
[...]
  /usr/share/wine-development/wine/fonts/vgas1257.fon    owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/vgas874.fon     owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/vgasys.fon      owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/vgasyse.fon     owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/vgasysg.fon     owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/vgasysr.fon     owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/vgasyst.fon     owned by: fonts-wine-development
  /usr/share/wine-development/wine/fonts/wingding.ttf    owned by: fonts-wine-development

0m50.9s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/libwine-development:amd64.list      not owned


Similar problems exist between fonts-wine/stretch and libwine/jessie


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libwine-development=1.7.29-4_fonts-wine-development=1.7.44-2.log.gz
Type: application/gzip
Size: 20208 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-wine-party/attachments/20150613/c13df3bc/attachment-0001.bin>


More information about the pkg-wine-party mailing list