Bug#915578: libtomcat9-embed-java: missing Breaks+Replaces: libtomcat8-embed-java

Andreas Beckmann anbe at debian.org
Tue Dec 4 23:54:18 GMT 2018


Package: libtomcat9-embed-java
Version: 9.0.13-1
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 .../libtomcat9-embed-java_9.0.13-1_all.deb ...
  Unpacking libtomcat9-embed-java (9.0.13-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libtomcat9-embed-java_9.0.13-1_all.deb (--unpack):
   trying to overwrite '/usr/share/maven-repo/org/apache/tomcat/embed/tomcat-embed-core/debian/tomcat-embed-core-debian.pom', which is also in package libtomcat8-embed-java 8.5.35-2
  Errors were encountered while processing:
   /var/cache/apt/archives/libtomcat9-embed-java_9.0.13-1_all.deb


cheers,

andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libtomcat8-embed-java=8.5.35-2_libtomcat9-embed-java=9.0.13-1.log.gz
Type: application/gzip
Size: 7521 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20181205/711e20d2/attachment.gz>


More information about the pkg-java-maintainers mailing list