Bug#1069830: libccrtp-doc: missing Breaks+Replaces: libccrtp-dev (<< 2.0.9-3)

Andreas Beckmann anbe at debian.org
Thu Apr 25 13:53:34 BST 2024


Package: libccrtp-doc
Version: 2.0.9-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts fileconflict

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stable'.
It installed fine in 'stable', then the upgrade to 'sid' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

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

  Preparing to unpack .../libccrtp-doc_2.0.9-3_all.deb ...
  Unpacking libccrtp-doc (2.0.9-3) ...
  dpkg: error processing archive /var/cache/apt/archives/libccrtp-doc_2.0.9-3_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/libccrtp-dev/NEWS.gz', which is also in package libccrtp-dev 2.0.9-2.3
  Errors were encountered while processing:
   /var/cache/apt/archives/libccrtp-doc_2.0.9-3_all.deb

This is probably caused by a behavior change of dh_installdocs (w.r.t.
the doc main package) in newer compat levels.

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libccrtp-dev=2.0.9-2.3_libccrtp-doc=2.0.9-3.log.gz
Type: application/gzip
Size: 10617 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20240425/3c465c49/attachment.gz>


More information about the Pkg-voip-maintainers mailing list