Bug#999760: opencv: libopencv-*4.5d: missing Breaks+Replaces: libopencv-*4.5

Paul Gevers elbrus at debian.org
Sun Dec 5 19:59:04 GMT 2021


Hi
On Tue, 30 Nov 2021 12:32:25 +0100 Andreas Beckmann <anbe at debian.org> wrote:
> there is still an unhandled file conflict:
> 
>   Preparing to unpack .../14-libopencv4.5d-jni_4.5.4+dfsg-7+b1_amd64.deb ...
>   Unpacking libopencv4.5d-jni (4.5.4+dfsg-7+b1) ...
>   dpkg: error processing archive /tmp/apt-dpkg-install-Y5vji1/14-libopencv4.5d-jni_4.5.4+dfsg-7+b1_amd64.deb (--unpack):
>    trying to overwrite '/usr/lib/jni/libopencv_java454.so', which is also in package libopencv4.5-jni 4.5.4+dfsg-1
>   dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
>   Errors were encountered while processing:
>    /tmp/apt-dpkg-install-Y5vji1/14-libopencv4.5d-jni_4.5.4+dfsg-7+b1_amd64.deb

I guess (I haven't actually "fixed" the situation yet) that the file 
conflict is resolved, but something is different then normal because 
SONAME bumps and new binary names normally don't cause apt to "keep 
back" the old binaries. I don't totally understand, I'm very much 
guessing it related to a simultaneous SONAME bump in one of the reverse 
dependencies. Just reporting in case others see something worse.

paul at mulciber ~ $ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer 
required:
   libaom0 libcodec2-0.9 libfluidsynth2 libopencv-calib3d4.5 
libopencv-contrib4.5 libopencv-core4.5 libopencv-dnn4.5 
libopencv-features2d4.5 libopencv-flann4.5 libopencv-highgui4.5
   libopencv-imgcodecs4.5 libopencv-imgproc4.5 libopencv-ml4.5 
libopencv-objdetect4.5 libopencv-video4.5 liburing1 linux-doc-5.14 
python3-responses
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
   libopencv-contrib4.5 libopencv-dnn4.5 libopencv-highgui4.5 
libopencv-video4.5
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
paul at mulciber ~ $ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer 
required:
   libaom0 libcodec2-0.9 libfluidsynth2 libopencv-calib3d4.5 
libopencv-contrib4.5 libopencv-core4.5 libopencv-dnn4.5 
libopencv-features2d4.5 libopencv-flann4.5 libopencv-highgui4.5
   libopencv-imgcodecs4.5 libopencv-imgproc4.5 libopencv-ml4.5 
libopencv-objdetect4.5 libopencv-video4.5 liburing1 linux-doc-5.14 
python3-responses
Use 'sudo apt autoremove' to remove them.
The following packages have been kept back:
   libopencv-contrib4.5 libopencv-dnn4.5 libopencv-highgui4.5 
libopencv-video4.5
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20211205/605217b4/attachment-0001.sig>


More information about the debian-science-maintainers mailing list