ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I encountered the same issue lately. You can downgrade with sudo apt -y --allow-downgrades install libopencv-dev=3.2.0+dfsg-4ubuntu0.1 and hold (avoid it being upgraded) with sudo apt-mark hold libopencv-dev.

If you have time, try to work on making your packages compatible with OpenCV 4 (e.g. by removing usage of the C API) since focal, and therefore noetic, drops support for OpenCV 3. To make everything work on melodic, your best bet right now is to downgrade and hold.