apt-get:未满足的依赖关系

我希望编译启用了python-interp的vim7.3版本,这需要安装python-dev软件包。
问题是我有python-2.6.6-2ubuntu2版本,而python-dev要求的是python-2.6.6-2ubuntu1版本。(我不知道我是怎么得到它的。http://pastie.org/1706980
所以,我决定将python降级到-2ubuntu1版本。但是apt-get会显示另一个错误信息 -
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:  
 python : Depends: python-minimal (= 2.6.6-2ubuntu1) but 2.6.6-2ubuntu2 is to be installed  
E: Broken packages

那么,我该如何解决这个问题呢?首先降级python-minimal吗?
这样会导致许多软件包被移除。
此外,sudo aptitude install python=2.6.6-2ubuntu1输出了这个结果。它告诉我要删除很多东西。
我不确定这是否是正确的方法。
附言:谷歌并没有提供太多帮助。
[solved]
从maverick-updates安装python-dev成功。
1个回答

只需从maverick-updates安装正确的python-dev(2.6.6-2ubuntu2)即可。

Maverick-updates与main有何不同? - N 1.1
该存储库提供了Mavericks的推荐更新。您可以通过在更新管理器中选择“更新”>“推荐更新”来启用它。 - Adam Byrtek

  • 相关问题