I've got stucked for 4 days on installing openCV.always got error while compile the source code. I assume because libtiff5-dev not installed on my machine, then I tiedy to install libtiff5-dev, here is the output :
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
libtiff5-dev : Depends: liblzma-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
said "depends liblzma-dev", then I tried to
$ sudo apt-get install liblzma-dev
but error too, here is the output :
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
liblzma-dev : Depends: liblzma5 (= 5.1.1alpha+20120614-2ubuntu2) but 5.2.2-1.3~16.04.york0 is to be installed
E: Unable to correct problems, you have held broken packages.
anyone have solution for this problem ?