by stlsaint » Sun Mar 04, 2012 10:50 pm
I tried installing python2.7 for a package im working on. But when i tried to upgrade bzr it went all whacky. I tried purging it but i get the below error. I went to install bzr from source and now i have a working bzr from source but the one out of repos is still causing these errors:
- Code: Select all
stlsaint@devcore:~$ sudo apt-get purge bzr
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
bzr* bzrtools*
0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 16.3MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 557750 files and directories currently installed.)
Removing bzrtools ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2304, in <module>
main()
File "/usr/bin/pycentral", line 2298, 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 bzrtools (--purge):
subprocess installed pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2304, in <module>
main()
File "/usr/bin/pycentral", line 2298, 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
Removing bzr ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2304, in <module>
main()
File "/usr/bin/pycentral", line 2298, 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 bzr (--purge):
subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
bzrtools
bzr
E: Sub-process /usr/bin/dpkg returned an error code (1)
intel centr duo
nvidia 8400 graphics
4GB ram, 500gb hdd
Ultimate Edition on Freenode @ IRC #UltimateEdition