So i have installed synaptic package manager.. via it, i have checked once libopencv-highgui-dev and applied complete removal.. after that i installed it... now everytime i try to install an application e.g Format Junkie
sudo add-apt-repository ppa:format-junkie-team/release && sudo apt-get update && sudo apt-get install formatjunkie
in the command install format junkie it gives me that error everytime:
sudo apt-get install formatjunkie
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:
libopencv-features2d-dev : Depends: libopencv-highgui-dev (= 2.3.1-11ubuntu2) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
What should i do? And 2nd what did i did wrong so it won't happen another time?
output of lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Open /var/log/dist-upgrade/apt.log
identify Broken packages , open terminal and execute following commands.
First Remove that broken packages completely (remove if any other remain)
System Update and upgrade packages
Fix Dependency using this command
Remove unnecessary packages
Try doing this:
apt-get install formatjunkie libopencv-highgui-dev=2.3.1-11ubuntu2 libopencv-features2d-dev
That should force it (don't forget sudo!) to try and get the version it requires.
If not, I'll take a look at that package, it may just be broken in the PPA (I'm one of the uploaders to that PPA, if you read the uploader entries :P)