Bug#722927: opencv-data: fails to upgrade from 'testing' - trying to overwrite /usr/share/opencv/haarcascades/haarcascade_frontalface_alt.xml

Andreas Beckmann anbe at debian.org
Sat Sep 14 15:24:06 UTC 2013


Package: opencv-data
Version: 2.4.6.1+dfsg-0exp2
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
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

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

  Selecting previously unselected package opencv-data.
  Unpacking opencv-data (from .../opencv-data_2.4.6.1+dfsg-0exp2_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/opencv-data_2.4.6.1+dfsg-0exp2_all.deb (--unpack):
   trying to overwrite '/usr/share/opencv/haarcascades/haarcascade_frontalface_alt.xml', which is also in package libopencv-dev 2.3.1-12
  Processing triggers for fontconfig ...
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/opencv-data_2.4.6.1+dfsg-0exp2_all.deb


cheers,

Andreas

PS: you should switch back to regular versioning in sid ... -0exp2 is confusing :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libopencv-dev=2.3.1-12_opencv-data=2.4.6.1+dfsg-0exp2.log.gz
Type: application/x-gzip
Size: 31467 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130914/f8b97966/attachment-0001.bin>


More information about the debian-science-maintainers mailing list