apt-get依赖库版本过高问题的解决(如何处理libqt4-dev在ubuntu的安装问题)
2010-09-08 17:09
1341 查看
因为可能会在项目中应用到Qt的canvas,自然想在自己的VM上先装上来试试,
Nokia现在的SDK太能用了。
我的ubuntu偶而的会升级一下软件包,结果今天装libqt4-dev时遇到下面的问题,错误提示为:
再往下一查,发现:
意思就是,虽然我的软件包更新,但是-dev的包就要求是那个旧一点儿的版本。。
怎么解决呢?
网上有个相关的帖子:
http://daway320.blog.163.com/blog/static/3878369920107331733393/
其中最有用的一句应该是这条命令:
这让我想起来可以用这个方法来给各个软件包降级。
比如处理libpq的问题:
apt-get install libpq5=8.4.1-1
接下来要手工降级好多库,如果再有自动化一点儿的方法就好了。 T_T
Nokia现在的SDK太能用了。
我的ubuntu偶而的会升级一下软件包,结果今天装libqt4-dev时遇到下面的问题,错误提示为:
apt-get install libqt4-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: libqt4-dev: Depends: libpq-dev but it is not going to be installed Depends: libssl-dev but it is not going to be installed E: Broken packages
再往下一查,发现:
# apt-get install libpq-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: libpq-dev: Depends: libpq5 (= 8.4.1-1) but 8.4.4-0ubuntu9.10 is to be installed Depends: libssl-dev but it is not going to be installed Depends: libkrb5-dev but it is not going to be installed E: Broken packages
意思就是,虽然我的软件包更新,但是-dev的包就要求是那个旧一点儿的版本。。
怎么解决呢?
网上有个相关的帖子:
http://daway320.blog.163.com/blog/static/3878369920107331733393/
其中最有用的一句应该是这条命令:
aptitude install libqt4-dbus=4.4.3-1
这让我想起来可以用这个方法来给各个软件包降级。
比如处理libpq的问题:
apt-get install libpq5=8.4.1-1
接下来要手工降级好多库,如果再有自动化一点儿的方法就好了。 T_T
相关文章推荐
- apt-get依赖库版本过高问题的解决(如何处理libqt4-dev在ubuntu的安装问题)
- apt-get install安装软件问题(安装包的依赖库版本过高问题)
- apt-get install安装软件问题(安装包的依赖库版本过高问题)
- 如何解决ubuntu下apt-get install g++依赖问题
- 解决apt-get 依赖版本过高(Depends: AAA(>= BBB)but it is not going to install)的问题
- apt-get install安装软件问题(安装包的依赖库版本过高问题)
- Linux-----Ubuntu下apt-get安装软件包时依赖包版本过高
- 如何删除在Ubuntu安装中设置的http代理 (解决apt-get update 出错问题)
- 如何删除在Ubuntu server 12.04安装中设置的http代理 (解决apt-get update 出错问题)
- 重装Ubuntu 14.04后使用apt-get安装build-essential(即sudo apt-get install build-essential)时出现包依赖项问题的解决方法
- apt-get install安装软件问题(安装包的依赖库版本过高问题)[原创]
- ubuntu apt-get 安装软件包时 出现依赖的包版本过高
- vlc在ubuntu15.04下安装成功(解决sudo apt-get build-dep vlc失败问题)
- 解决Ubuntu/debian的Apt-get 由于依赖关系安装失败的问题
- 解决Ubuntu/debian的Apt-get 由于依赖关系安装失败的问题
- 解决Ubuntu/debian的Apt-get 由于依赖关系安装失败的问题
- Ubuntu14.04安装build-essential失败,包依赖问题如何解决?
- ubuntu采用apt-get安装软件出现依赖问题的解决方案
- 老版本Ubuntu使用apt-get不能安装软件问题
- ubuntu14.04 server版 安装指定版本docker的方法(解决apt-get install无法安装指定版本docker的问题)