# install opencv4Tegra error unmet dependence

**URL:** <https://forums.developer.nvidia.com/t/install-opencv4tegra-error-unmet-dependence/48190>\
**Category:** Jetson TX1\
**Created:** [March 1, 2017, 2:33am UTC](https://forums.developer.nvidia.com/t/install-opencv4tegra-error-unmet-dependence/48190 "2017-03-01T02:33:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkkkk](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@gkkkk](https://forums.developer.nvidia.com/u/gkkkk)\
**Post date:** [March 1, 2017, 2:33am UTC](https://forums.developer.nvidia.com/t/install-opencv4tegra-error-unmet-dependence/48190/1 "2017-03-01T02:33:37Z")

</div>

i try to install opencv4Tegra and cuda-8.0 from jetpack.then cuda installed successful,but opencv has error.  
the error is :  
The following packages have unmet dependencies:  
libopencv4tegra : Depends: libavcodec-ffmpeg56 (\>= 7:2.4) but it is not installable or  
libavcodec-ffmpeg-extra56 (\>= 7:2.4) but it is not installable  
Depends: libavformat-ffmpeg56 (\>= 7:2.4) but it is not installable  
Depends: libavutil-ffmpeg54 (\>= 7:2.4) but it is not installable  
Depends: libstdc++6 (\>= 5.2) but 4.9.2-10 is to be installed  
Depends: libswscale-ffmpeg3 (\>= 7:2.4) but it is not installable  
Depends: libtbb2 but it is not going to be installed  
libopencv4tegra-dev : Depends: libstdc++6 (\>= 5.2) but 4.9.2-10 is to be installed  
Depends: libtbb-dev but it is not going to be installed  
libstdc++6 : Depends: gcc-4.9-base (= 4.9.2-10) but 4.9-20140406-0ubuntu1 is to be installed  
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).  
i try to install those unmet lib but failed.

---

<div class="post-metadata">

**Author:** ![carolyuu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/carolyuu/32/14043_2.png) [@carolyuu](https://forums.developer.nvidia.com/u/carolyuu)\
**Post date:** [March 1, 2017, 3:26am UTC](https://forums.developer.nvidia.com/t/install-opencv4tegra-error-unmet-dependence/48190/2 "2017-03-01T03:26:13Z")

</div>

Hi gkkkk,

Which JetPack version are you install?

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [March 9, 2017, 7:49am UTC](https://forums.developer.nvidia.com/t/install-opencv4tegra-error-unmet-dependence/48190/3 "2017-03-09T07:49:22Z")

</div>

Hi gkkkk,

Have you managed to install OpenCV and CUDA successfully?

Thanks

---

<div class="post-metadata">

**Author:** ![f1inx](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@f1inx](https://forums.developer.nvidia.com/u/f1inx)\
**Post date:** [November 7, 2017, 11:40am UTC](https://forums.developer.nvidia.com/t/install-opencv4tegra-error-unmet-dependence/48190/4 "2017-11-07T11:40:48Z")

</div>

> [@](#):
>
> i try to install opencv4Tegra and cuda-8.0 from jetpack.then cuda installed successful,but opencv has error.  
> the error is :  
> The following packages have unmet dependencies:  
> libopencv4tegra : Depends: libavcodec-ffmpeg56 (\>= 7:2.4) but it is not installable or  
> libavcodec-ffmpeg-extra56 (\>= 7:2.4) but it is not installable  
> Depends: libavformat-ffmpeg56 (\>= 7:2.4) but it is not installable  
> Depends: libavutil-ffmpeg54 (\>= 7:2.4) but it is not installable  
> Depends: libstdc++6 (\>= 5.2) but 4.9.2-10 is to be installed  
> Depends: libswscale-ffmpeg3 (\>= 7:2.4) but it is not installable  
> Depends: libtbb2 but it is not going to be installed  
> libopencv4tegra-dev : Depends: libstdc++6 (\>= 5.2) but 4.9.2-10 is to be installed  
> Depends: libtbb-dev but it is not going to be installed  
> libstdc++6 : Depends: gcc-4.9-base (= 4.9.2-10) but 4.9-20140406-0ubuntu1 is to be installed  
> E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).  
> i try to install those unmet lib but failed.

The main part of this problem is due to disabled sources from  
**deb [Index of /ubuntu-ports](http://ports.ubuntu.com/ubuntu-ports/) xenial universe**  
in /etc/apt/sources.list  
To solve it uncomment this repository in target file /etc/apt/sources.list and run “apt-get update”  
then try install libopencv4tegra and libopencv4tegra-dev again
