Discussion:
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
2017-07-31 03:50:04 UTC
Permalink
Package: libmaven-plugin-testing-1.3-java
Version: 1.3-3
Severity: serious
User: debian-***@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
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

Loading...