Jetpack SDK Manager Opencv on host installation fail


I am not able to install the “Opencv on host” for Jetpack 4.2.2 and Jetpack 4.2.1 for TX2i.

The firs error I am getting is:

21:23:54 ERROR : OpenCV on Host : dpkg: dependency problems prevent configuration of libopencv:
21:23:54 INFO : OpenCV on Host : libopencv depends on libavcodec-ffmpeg56 (>= 7:2.4) | libavcodec-ffmpeg-extra56 (>= 7:2.4); however:

Operating system Ubuntu 18.04.

When I am try to get the library with sudo apt-get install libavcodec-ffmpeg56 I am geeting this error:

Package libavcodec-ffmpeg56 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Any ideas advice please?

Hi giakoumidisj5z3m,

Please update your host device and install OpenCV again.
$ sudo apt-get update

If you still got the same error, please zip the ~/.nvsdkm directory and attach it here for further investigation.

Thank you for the prompt response. I tried apt update without luck. (1.11 MB)

Hi giakoumidisj5z3m,

Please upgrade ffmpeg:

$ sudo apt-get install libavcodec-extra57 libavformat57 libavutil55

Or reference Topic-996821.