Hi neophilic!

On Do, 24 Mär 2011, neophilic wrote:
> > Where did you get python 2.6.6-2ubuntu2? From your output, it looks like
> > it is not in the maverick repository. Something is wrong there.
> 
> The "update manager" shows that i am downloading from the main server.
> So, should i degrade to python 2.6.6-2ubuntu1??

If you look at the output of your apt-cache policy commands it shows:
,----
| 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
`----

That means, version 2.6.6-2ubuntu2 is installed, while in the main 
archive is only version 2.6.6-2ubuntu1 is available. It doesn't know a 
repository with your version, so that's why it says /var/lib/dpkg/status 
in it's output. That means, either you have temporarily enabled another 
repository and installed python from their or you must have used 
something like dpkg directly to install that version.

I would recommend downgrading to the version in the official repository 
to avoid trouble with updates later.


> But, still is there any way I could tell vim to use python2.7 instead
> of 2.6?

Possibly by installing a python-dev package that contains the 
development libraries for version 2.7 from some repository. I don't 
know, whether there exists one (backports maybe?)

Alternatively wait for 11.04 which will contain a 2.7 version of python. 
It's only about 6 weeks or so until natty will be released (you could 
already upgrade, if you dare ;)

regards,
Christian

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to