python3-opencv fails to install due to unmet dependency.

Bug #1951867 reported by spec
This bug affects 1 person
Affects Status Importance Assigned to Milestone
opencv (Ubuntu)

Bug Description

Description: Ubuntu 20.04.3 LTS
Release: 20.04

  Installed: (none)
  Candidate: 4.2.0+dfsg-5
  Version table:
     4.2.0+dfsg-5 500
        500 focal/universe amd64 Packages

3) I expected 'apt install python3-opencv` to complete without issue.

Issuing: 'apt install python3-opencv` fails with:

"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:
 python3-opencv : Depends: libopencv-dnn4.2 (= 4.2.0+dfsg-5+20.04.sav2) but it is not going to be installed
                  Depends: libopencv-superres4.2 (= 4.2.0+dfsg-5+20.04.sav2) but it is not going to be installed
                  Depends: libopencv-contrib4.2 (>= 4.2.0+dfsg) but it is not going to be installed
E: Unable to correct problems, you have held broken packages."

Drilling down, 'libopencv-dnn4.2' requires 'libprotobuf23' which is not available for 20.04, but is available for 20.10.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers