我希望在启用的情况vim7.3
下进行编译python-interp
,这需要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
输出这个。告诉我删除了不少东西。
我不确定这是不是正确的方法。
附言:谷歌没有提供太多帮助。
[解决了]
python-dev
从工作状态开始安装maverick-updates
。
答案1
只需安装正确的python-dev(2.6.6-2ubuntu2)来自 maverick-updates。