我希望编译启用了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会显示另一个错误信息 -
那么,我该如何解决这个问题呢?首先降级
这样会导致许多软件包被移除。
此外,
我不确定这是否是正确的方法。
附言:谷歌并没有提供太多帮助。
[solved]
从maverick-updates安装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成功。