Bug#803959: libelasticsearch1.7-java: fails to upgrade from 'testing' - trying to overwrite /usr/share/maven-repo/org/elasticsearch/elasticsearch/1.6/elasticsearch-1.6.pom

Andreas Beckmann anbe at debian.org
Tue Nov 3 16:19:20 UTC 2015


Package: libelasticsearch1.7-java
Version: 1.7.3+dfsg-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#s-replaces

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

  Selecting previously unselected package libelasticsearch1.7-java.
  Preparing to unpack .../libelasticsearch1.7-java_1.7.3+dfsg-1_all.deb ...
  Unpacking libelasticsearch1.7-java (1.7.3+dfsg-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libelasticsearch1.7-java_1.7.3+dfsg-1_all.deb (--unpack):
   trying to overwrite '/usr/share/maven-repo/org/elasticsearch/elasticsearch/1.6/elasticsearch-1.6.pom', which is also in package libelasticsearch1.6-java 1.6.2+dfsg-1
  Errors were encountered while processing:
   /var/cache/apt/archives/libelasticsearch1.7-java_1.7.3+dfsg-1_all.deb

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libelasticsearch1.6-java=1.6.2+dfsg-1_libelasticsearch1.7-java=1.7.3+dfsg-1.log.gz
Type: application/gzip
Size: 28203 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20151103/d20a8e2e/attachment-0001.bin>


More information about the pkg-java-maintainers mailing list