Bug#870223: libmaven-plugin-testing-1.3-java: fails to upgrade from 'stretch' - trying to overwrite /usr/share/java/maven-plugin-testing-harness-1.3.jar

Andreas Beckmann anbe at debian.org
Mon Jul 31 03:50:04 UTC 2017


Package: libmaven-plugin-testing-1.3-java
Version: 1.3-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
'stretch'.
It installed fine in 'stretch', then the upgrade to 'buster' 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#s-replaces

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

  Selecting previously unselected package libmaven-plugin-testing-1.3-java.
  Preparing to unpack .../9-libmaven-plugin-testing-1.3-java_1.3-3_all.deb ...
  Unpacking libmaven-plugin-testing-1.3-java (1.3-3) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-FLV6NX/9-libmaven-plugin-testing-1.3-java_1.3-3_all.deb (--unpack):
   trying to overwrite '/usr/share/java/maven-plugin-testing-harness-1.3.jar', which is also in package libmaven-plugin-testing-java 1.3-2
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-FLV6NX/9-libmaven-plugin-testing-1.3-java_1.3-3_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libmaven-plugin-testing-java=1.3-2_libmaven-plugin-testing-1.3-java=1.3-3.log.gz
Type: application/gzip
Size: 21978 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20170731/fcbfb9f9/attachment-0001.bin>


More information about the pkg-java-maintainers mailing list