所以我已经安装了突触软件包管理器..通过它,我检查了一次libopencv-highgui-dev并应用了完全删除..之后我安装了它...现在每次我尝试安装应用程序时,例如Format Junkie
sudo add-apt-repository ppa:format-junkie-team/release && sudo apt-get update && sudo apt-get install formatjunkie
在命令安装格式垃圾中,每次都会给我该错误:
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.
我应该怎么办?第二我做错了什么,所以下次再也不会发生?
输出 lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
打开/var/log/dist-upgrade/apt.log
识别损坏的软件包,打开终端并执行以下命令。
首先,完全删除损坏的软件包(如果还有其他残留,则删除)
sudo apt-get remove --purge libopencv-highgui-dev
系统更新和升级包
sudo apt-get update && sudo apt-get upgrade
使用此命令修复依赖关系
sudo apt-get install -f
删除不必要的软件包
sudo apt-get autoremove
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句