Bug#674242: libopencv-dev: fails to upgrade from 'wheezy' - trying to overwrite /usr/share/OpenCV/OpenCVConfig.cmake

Andreas Beckmann debian at abeckmann.de
Thu May 24 02:14:42 UTC 2012


Package: libopencv-dev
Version: 2.3.1-9
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
'wheezy'.
It installed fine in 'wheezy', then the upgrade to 'sid' fails
because it tries to overwrite files that are owned by other packages
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...):

  Preparing to replace libopencv-dev 2.3.1-8 (using .../libopencv-dev_2.3.1-9_amd64.deb) ...
  Unpacking replacement libopencv-dev ...
  dpkg: error processing /var/cache/apt/archives/libopencv-dev_2.3.1-9_amd64.deb (--unpack):
   trying to overwrite '/usr/share/OpenCV/OpenCVConfig.cmake', which is also in package libopencv-core-dev 2.3.1-8
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libopencv-dev_2.3.1-9.log.gz
Type: application/x-gzip
Size: 18231 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120524/3c2cba04/attachment-0001.bin>


More information about the debian-science-maintainers mailing list