Python default version errors
- by Robus
For a while I've been getting this error while doing anything apt-get related:
Preparing to replace python-cairo 1.4.12-1.2 (using .../python-cairo_1.8.8-1+b1_i386.deb) ...
Traceback (most recent call last):
[...]
File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.6.6
Whereas
robus:/# /usr/bin/python -V
Python 2.6.6
How do I fix this? I did try fixing symlinks, but then I keep getting 'too many symlink levels' errors.