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

Andreas Beckmann anbe at debian.org
Mon Oct 30 16:57:13 UTC 2017


Package: libopencv3.3-java
Version: 3.3.0+dfsg-1~exp0
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.3-java.
  Preparing to unpack .../29-libopencv3.3-java_3.3.0+dfsg-1~exp0_all.deb ...
  Unpacking libopencv3.3-java (3.3.0+dfsg-1~exp0) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-RPe3bU/29-libopencv3.3-java_3.3.0+dfsg-1~exp0_all.deb (--unpack):
   trying to overwrite '/usr/share/java/opencv.jar', which is also in package libopencv3.2-java 3.2.0+dfsg-3


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libopencv3.2-java=3.2.0+dfsg-3_libopencv3.3-java=3.3.0+dfsg-1~exp0.log.gz
Type: application/gzip
Size: 57200 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20171030/facb9558/attachment-0001.bin>


More information about the debian-science-maintainers mailing list