libgtk2.0-dev 安装broken packages问题解决方法
2017-10-31 17:28
357 查看
在安装opencv的过程中,需要安装到libgtk2.0-dev,安装过程中可能会出现broken packages的问题。
输出信息如下:
解决方法:
1、在Software Sources中修改配置:
勾选Important security updates (lucid-security)和Recommended updates (lucid-updates)选项
如图:
2、执行update操作
apt-get update
3、重新安装:
apt-get install libgtk2.0-dev
输出信息如下:
# apt-get install libgtk2.0-dev 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: libgtk2.0-dev: Depends: libgtk2.0-0 (= 2.20.0-0ubuntu4) but 2.20.1-0ubuntu2.1 is to be installed Depends: libglib2.0-dev (>= 2.21.3) but it is not going to be installed Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed Depends: libatk1.0-dev (>= 1.13.0) but it is not going to be installed Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed Depends: libx11-dev (>= 2:1.0.0-6) but it is not going to be installed Depends: libxext-dev (>= 1:1.0.1-2) but it is not going to be installed Depends: libxinerama-dev (>= 1:1.0.1-4.1) but it is not going to be installed Depends: libxi-dev (>= 1:1.0.1-4) but it is not going to be installed Depends: libxrandr-dev (>= 1:1.2.99) but it is not going to be installed Depends: libxcursor-dev but it is not going to be installed Depends: libxfixes-dev (>= 1:3.0.0-3) but it is not going to be installed Depends: libxcomposite-dev (>= 1:0.2.0-3) but it is not going to be installed Depends: libxdamage-dev (>= 1:1.0.1-3) but it is not going to be installed E: Broken packages
解决方法:
1、在Software Sources中修改配置:
勾选Important security updates (lucid-security)和Recommended updates (lucid-updates)选项
如图:
2、执行update操作
apt-get update
3、重新安装:
apt-get install libgtk2.0-dev
相关文章推荐
- webpack和webpack-dev-server安装配置(遇到各种问题的解决方法)
- windows 2003中安装net Framework 2.0 后Reporting Service 出现问题及其解决方法
- 解决libgtk2.0-dev依赖包的问题
- there are no packages available for installation插件安装问题 及解决方法
- webpack和webpack-dev-server安装配置(遇到各种问题的解决方法)
- 树莓派编译OpenCV时libgtk2.0-dev安装问题
- 我在安装TFS 2008的时候遇到的问题以及解决方法一windows 2003 iis中总是不出现ASP.NET 2.0
- 经典问题:安装SQL2k时,提示“以前的某个程序已在电脑上安装了挂起文件,需重新启动电脑”的解决方法
- 升级CommunityServer2.0出现的两个问题的解决方法
- SQL安装中常出现的问题与解决方法
- winXP sp2 MDAC 2.8 安装问题解决方法
- 安装PHP可能遇到的问题“无法载入mysql扩展” 的解决方法
- 经典问题:安装SQL2k时,提示“以前的某个程序已在电脑上安装了挂起文件,需重新启动电脑”的解决方法
- 重新安装FFDShow Decoder解决暴风影音2.0画面倒置问题。
- 关于在FC6中安装m68k-elf-tools交叉编译碰到的问题及解决方法
- Rose 2003 安装问题 解决方法
- 从 CCS 1.1 升级到 CS 2.0 所遇到的问题和部分解决方法
- 安装VS.NET 2003 和 SQL Server 2000 的问题及解决方法
- 关于SQL安装时出现的有程序安装挂起问题的解决方法