Tuesday, March 7, 2017

package management - Unable to install libopencv-nonfree-dev in Ubuntu 16.04

I tried to install the libopencv-nonfree-dev package in Ubuntu 16.04 using the command:



sudo add-apt-repository --yes ppa:xqms/opencv-nonfree

sudo apt-get update
sudo apt-get install libopencv-nonfree-dev


But I got the error below:




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-nonfree-dev : Depends: libopencv-features2d-dev (= 2.4.9.1+dfsg-1.5ubuntu1xqms2~xenial1) but 2.4.9.1+dfsg-1.5ubuntu1.1 is to be installed



Depends: libopencv-nonfree2.4v5 (= 2.4.9.1+dfsg-1.5ubuntu1xqms2~xenial1) but it is not going to be installed



E: Unable to correct problems, you have held broken packages.





What could I do to install it then?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...