Bug#810516: libopencv3.0-java: fails to upgrade from 'sid' - trying to overwrite /usr/share/java/opencv.jar

Andreas Beckmann anbe at debian.org
Sat Jan 9 12:55:11 UTC 2016


Package: libopencv3.0-java
Version: 3.0.0+dfsg-1~exp1
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
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' 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 libopencv3.0-java.
  Preparing to unpack .../libopencv3.0-java_3.0.0+dfsg-1~exp1_all.deb ...
  Unpacking libopencv3.0-java (3.0.0+dfsg-1~exp1) ...
  dpkg: error processing archive /var/cache/apt/archives/libopencv3.0-java_3.0.0+dfsg-1~exp1_all.deb (--unpack):
   trying to overwrite '/usr/share/java/opencv.jar', which is also in package libopencv2.4-java 2.4.9.1+dfsg-1.2
  Processing triggers for libc-bin (2.21-6) ...
  Processing triggers for fontconfig (2.11.0-6.3) ...
  Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.32.3-1) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/libopencv3.0-java_3.0.0+dfsg-1~exp1_all.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libopencv2.4-java=2.4.9.1+dfsg-1.2_libopencv3.0-java=3.0.0+dfsg-1~exp1.log.gz
Type: application/gzip
Size: 51648 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160109/771e115a/attachment-0001.bin>


More information about the debian-science-maintainers mailing list