解决Ubuntu/debian的Apt-get 由于依赖关系安装失败的问题
2016-01-02 01:06
417 查看
由于ubuntu/debian软件库中有时候不同的库更新速度不一致,apt-get 出出现如下的错误提示
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:
libssl-dev: Depends: libssl0.9.8 (= 0.9.8k-7ubuntu8) but 0.9.8k-7ubuntu8.5 is to be installed
这个时候应该请令一个工具出马了:"aptitude"
使用这个工具,当某个库依赖的库与当前版本不一致时,aptitude 会尝试降级当前这个库的版本,同时解决降级这个库对其它软件的依赖性的影响, 最终成功安装apt-get 没法安装的软件
如:#aptitude install vim-gnome
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:
libssl-dev: Depends: libssl0.9.8 (= 0.9.8k-7ubuntu8) but 0.9.8k-7ubuntu8.5 is to be installed
这个时候应该请令一个工具出马了:"aptitude"
使用这个工具,当某个库依赖的库与当前版本不一致时,aptitude 会尝试降级当前这个库的版本,同时解决降级这个库对其它软件的依赖性的影响, 最终成功安装apt-get 没法安装的软件
如:#aptitude install vim-gnome
相关文章推荐
- Compressed sensing(压缩感知系列)
- UR11 A.元旦老人与汉诺塔
- 一个表单的多按钮提交
- 基本的ATPCS规则
- UI中如何用纯代码的方式来实现一个图片轮播器
- POJ 3262 Protecting the Flowers(贪心,需要小小优化一下)
- 相关进程间实现互斥的几种方式
- document.form.command.value
- 在亚马逊aws虚拟机更新系统内核
- Xcode7.2如何新建一个空工程
- Redis学习笔记四:独立功能之发布与订阅
- 【转】说下lua使用场景
- 17岁少女王凯歆的创业故事:要做最大的青少年电商平台
- Linux文本处理三剑客之grep和sed
- ARM汇编子程序参数传递
- 数字信号处理笔记
- 数字信号处理笔记
- 了解 Maven
- 方法与思想高于平台与语言
- nginx_lua vs nginx+php 应用场景