I am trying to compile vim and install with "--enable-pythoninterp" flag, which needs the python-dev package.
INFO
I obtained the vim source from ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2
Vim7.3 is not available yet using apt.
Using Ubuntu 10.10
But, sudo apt-get python-dev
results in broken packages error message ->
The following packages have unmet dependencies:
python-dev : Depends: python (= 2.6.6-2ubuntu1) but 2.6.6-2ubuntu2 is to be installed
E: Broken packages
How can I best resolve this issue?
$ apt-cache policy vim python python-dev
python: Installed: 2.6.6-2ubuntu2 Candidate: 2.6.6-2ubuntu2 Version table: *** 2.6.6-2ubuntu2 0 100 /var/lib/dpkg/status 2.6.6-2ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ maverick/main i386 Packages vim: Installed: (none) Candidate: 2:7.2.330-1ubuntu4 Version table: 2:7.2.330-1ubuntu4 0 500 http://archive.ubuntu.com/ubuntu/ maverick/main i386 Packages python-dev: Installed: (none) Candidate: 2.6.6-2ubuntu1 Version table: 2.6.6-2ubuntu1 0 500 http://archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
$ apt-cache policy vim python python-dev
. That's what happens when you try to type half asleep. – Faheem Mitha Mar 22 '11 at 05:44