Bug#960598: libfontconfig-doc: missing Breaks: libfontconfig1-dev (<< 2.13.1-3)

Andreas Beckmann anbe at debian.org
Thu May 14 13:23:07 BST 2020

Package: libfontconfig-doc
Version: 2.13.1-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts replaces-without-breaks


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 libfontconfig1-dev/stable
  # (1)
  apt-get install libfontconfig-doc
  apt-get remove libfontconfig-doc
  # (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
and also see the footnote that describes this incorrect behavior:

The libfontconfig-doc package has the following relationships with libfontconfig1-dev:

  Conflicts: n/a
  Breaks:    n/a
  Replaces:  libfontconfig1-dev (<< 2.13.1-3)

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

0m16.4s DEBUG: Modified(user, group, mode, size, target): /var/lib/dpkg/info/libfontconfig1-dev:amd64.list expected(root, root, - 100644, 25846, None) != found(root, root, - 100644, 16768, None)
0m16.4s ERROR: FAIL: After purging files have disappeared:
  /usr/share/doc-base/fontconfig-devel   owned by: libfontconfig-doc
  /usr/share/man/man3/FcAtomicCreate.3.gz        owned by: libfontconfig-doc
  /usr/share/man/man3/FcAtomicDeleteNew.3.gz     owned by: libfontconfig-doc
  /usr/share/man/man3/FcWeightToOpenType.3.gz    owned by: libfontconfig-doc
  /usr/share/man/man3/FcWeightToOpenTypeDouble.3.gz      owned by: libfontconfig-doc

0m16.4s ERROR: FAIL: After purging files have been modified:
  /var/lib/dpkg/info/libfontconfig1-dev:amd64.list       not owned


-------------- next part --------------
A non-text attachment was scrubbed...
Name: libfontconfig1-dev=2.13.1-2_libfontconfig-doc=2.13.1-4.log.gz
Type: application/gzip
Size: 11163 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-freedesktop-maintainers/attachments/20200514/28749f26/attachment.gz>

More information about the Pkg-freedesktop-maintainers mailing list