Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 908  / 2 Years ago, sat, december 18, 2021, 12:40:07

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

More From » synaptic

 Answers
2

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)



sudo apt-get remove --purge libopencv-highgui-dev


System Update and upgrade packages



sudo apt-get update && sudo apt-get upgrade


Fix Dependency using this command



sudo apt-get install -f 


Remove unnecessary packages



sudo apt-get autoremove

[#34549] Monday, December 20, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
enefiama

Total Points: 43
Total Questions: 125
Total Answers: 102

Location: Gabon
Member since Sat, Jul 25, 2020
4 Years ago
enefiama questions
;