Eu fiz algo parecido com:
link
Eu meio que quero desfazer isso.
Ao tentar remover o virtualbox-ose, recebo o erro dizendo
Removing virtualbox-ose ...
* Stopping VirtualBox kernel modules [ OK ]
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2300, in <module>
main()
File "/usr/bin/pycentral", line 2294, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1653, in run
runtimes = get_installed_runtimes(with_unsupported=True)
File "/usr/bin/pycentral", line 278, in get_installed_runtimes
default_version = pyversions.default_version(version_only=True)
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
dpkg: error processing virtualbox-ose (--remove):
subprocess installed pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2300, in <module>
main()
File "/usr/bin/pycentral", line 2294, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1477, in run
runtimes = get_installed_runtimes()
File "/usr/bin/pycentral", line 278, in get_installed_runtimes
default_version = pyversions.default_version(version_only=True)
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
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
virtualbox-ose
E: Sub-process /usr/bin/dpkg returned an error code (1)
Existe uma linha que diz que / usr / bin / python não corresponde à versão padrão do python. Deve ser redefinido para apontar para python2.6
Então, minha pergunta é como obter / usr / bin / python para combinar com a versão padrão (python2.6)?