http://tonychiu.blog.51cto.com/656605/654776
由于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 会尝试降级当前这个库的版本,同时解决降级这个库对其它软件的依赖性的影响, 最终成功安装apt-get 没法安装的软件
如:#aptitude install vim-gnome
本文详细介绍了在Ubuntu/Debian系统中遇到不同库更新速度不一致导致apt-get无法安装所需软件时,如何通过使用aptitude工具解决这一问题。具体步骤包括识别未满足的依赖、使用aptitude进行降级操作以匹配现有库版本,并最终成功安装软件。


被折叠的 条评论
为什么被折叠?



