Bug#1041387: libpdfbox-java: missing Breaks+Replaces: libpdfbox-java-doc (<< 1:1.8.16-3)

Andreas Beckmann anbe at debian.org
Tue Jul 18 10:10:38 BST 2023


Package: libpdfbox-java
Version: 1:1.8.16-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'testing'.
It installed fine in 'testing', 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

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

  Preparing to unpack .../libpdfbox-java_1%3a1.8.16-3_all.deb ...
  Unpacking libpdfbox-java (1:1.8.16-3) ...
  dpkg: error processing archive /var/cache/apt/archives/libpdfbox-java_1%3a1.8.16-3_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/libpdfbox-java/examples/pom.xml', which is also in package libpdfbox-java-doc 1:1.8.16-2
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libpdfbox-java_1%3a1.8.16-3_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libpdfbox-java-doc=1:1.8.16-2_libpdfbox-java=1:1.8.16-3.log.gz
Type: application/gzip
Size: 7508 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20230718/3c04f17b/attachment-0001.gz>


More information about the pkg-java-maintainers mailing list