Bug#955435: libopencv-features2d4.2: package cannot be installed with apt-get because of conflicting dependencies

Jochen Sprickerhof jspricke at debian.org
Wed Apr 1 07:54:19 BST 2020


Control: tags -1 - a11y
Control: severity -1 normal


Hi Julian,

* Julian Grahsl <julian at grahsl.net> [2020-03-31 19:01]:
># apt-get install libopencv-features2d4.2
>>
>   * What was the outcome of this action?
>
>>The following packages have unmet dependencies:
> libopencv-features2d4.2 : Depends: libopencv-highgui4.2 (= 4.2.0+dfsg-5+b2) but it is not going to be installed
>E: Unable to correct problems, you have held broken packages.

# apt -o Debug::pkgProblemResolver=yes -y install libopencv-highgui4.2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) libgdal26:amd64 < none -> 3.0.4+dfsg-1+b1 @un uN Ib >
Broken libgdal26:amd64 Depends on libhdf5-103:amd64 < none | 1.10.4+repack-11 @un uH >
   Considering libhdf5-103:amd64 0 as a solution to libgdal26:amd64 1
   Holding Back libgdal26:amd64 rather than change libhdf5-103:amd64
Investigating (0) libopencv-imgcodecs4.2:amd64 < none -> 4.2.0+dfsg-5+b2 @un uN Ib >
Broken libopencv-imgcodecs4.2:amd64 Depends on libgdal26:amd64 < none | 3.0.4+dfsg-1+b1 @un uH > (>= 2.0.1)
   Considering libgdal26:amd64 1 as a solution to libopencv-imgcodecs4.2:amd64 1
   Holding Back libopencv-imgcodecs4.2:amd64 rather than change libgdal26:amd64
Investigating (0) libopencv-videoio4.2:amd64 < none -> 4.2.0+dfsg-5+b2 @un uN Ib >
Broken libopencv-videoio4.2:amd64 Depends on libopencv-imgcodecs4.2:amd64 < none | 4.2.0+dfsg-5+b2 @un uH > (= 4.2.0+dfsg-5+b2)
   Considering libopencv-imgcodecs4.2:amd64 1 as a solution to libopencv-videoio4.2:amd64 0
   Holding Back libopencv-videoio4.2:amd64 rather than change libopencv-imgcodecs4.2:amd64
Investigating (1) libopencv-highgui4.2:amd64 < none -> 4.2.0+dfsg-5+b2 @un puN Ib >
Broken libopencv-highgui4.2:amd64 Depends on libopencv-videoio4.2:amd64 < none | 4.2.0+dfsg-5+b2 @un uH > (= 4.2.0+dfsg-5+b2)
   Considering libopencv-videoio4.2:amd64 0 as a solution to libopencv-highgui4.2:amd64 9999
   Re-Instated libhdf5-103:amd64
   Re-Instated libgdal26:amd64
   Re-Instated libopencv-imgcodecs4.2:amd64
   Re-Instated libopencv-videoio4.2:amd64
Investigating (1) libhdf5-103-1:amd64 < none -> 1.10.6+repack-1 @un uN Ib >
Broken libhdf5-103-1:amd64 Breaks on libhdf5-103:amd64 < none -> 1.10.4+repack-11 @un uN >
   Considering libhdf5-103:amd64 0 as a solution to libhdf5-103-1:amd64 1
   Added libhdf5-103:amd64 to the remove list
   Fixing libhdf5-103-1:amd64 via keep of libhdf5-103:amd64
Investigating (2) libgdal26:amd64 < none -> 3.0.4+dfsg-1+b1 @un uN Ib >
Broken libgdal26:amd64 Depends on libhdf5-103:amd64 < none | 1.10.4+repack-11 @un uH >
   Considering libhdf5-103:amd64 0 as a solution to libgdal26:amd64 1
   Holding Back libgdal26:amd64 rather than change libhdf5-103:amd64
Investigating (2) libopencv-imgcodecs4.2:amd64 < none -> 4.2.0+dfsg-5+b2 @un uN Ib >
Broken libopencv-imgcodecs4.2:amd64 Depends on libgdal26:amd64 < none | 3.0.4+dfsg-1+b1 @un uH > (>= 2.0.1)
   Considering libgdal26:amd64 1 as a solution to libopencv-imgcodecs4.2:amd64 1
   Holding Back libopencv-imgcodecs4.2:amd64 rather than change libgdal26:amd64
Investigating (2) libopencv-videoio4.2:amd64 < none -> 4.2.0+dfsg-5+b2 @un uN Ib >
Broken libopencv-videoio4.2:amd64 Depends on libopencv-imgcodecs4.2:amd64 < none | 4.2.0+dfsg-5+b2 @un uH > (= 4.2.0+dfsg-5+b2)
   Considering libopencv-imgcodecs4.2:amd64 1 as a solution to libopencv-videoio4.2:amd64 0
   Holding Back libopencv-videoio4.2:amd64 rather than change libopencv-imgcodecs4.2:amd64
Investigating (3) libopencv-highgui4.2:amd64 < none -> 4.2.0+dfsg-5+b2 @un puN Ib >
Broken libopencv-highgui4.2:amd64 Depends on libopencv-videoio4.2:amd64 < none | 4.2.0+dfsg-5+b2 @un uH > (= 4.2.0+dfsg-5+b2)
   Considering libopencv-videoio4.2:amd64 0 as a solution to libopencv-highgui4.2:amd64 9999
Broken libopencv-highgui4.2:amd64 Depends on libopencv-imgcodecs4.2:amd64 < none | 4.2.0+dfsg-5+b2 @un uH > (>= 4.2.0+dfsg)
   Considering libopencv-imgcodecs4.2:amd64 1 as a solution to libopencv-highgui4.2:amd64 9999
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libopencv-highgui4.2 : Depends: libopencv-videoio4.2 (= 4.2.0+dfsg-5+b2) but it is not going to be installed
                         Depends: libopencv-imgcodecs4.2 (>= 4.2.0+dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

so in essense it can't install because of libhdf5 which is currently 
going through a transition: https://bugs.debian.org/954654 and we can 
see that opencv wasn't rebiuld yet:

https://release.debian.org/transitions/html/auto-hdf5.html

>   * What outcome did you expect instead?
>
>Successful installation of the package.

Well no. If you want a stable system, use stable. If you want to be more 
up to date, use testing (where library transitions only happen en 
block). If you can live with packages being not installable from time to 
time, use unstable.

Cheers Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20200401/9d83b842/attachment-0001.sig>


More information about the debian-science-maintainers mailing list