Your message dated Sun, 19 Sep 2010 18:03:20 +0200
with message-id <[email protected]>
and subject line Re: Bug#597424: /usr/bin/pycentral: aptitude fails for 
multiple python versions
has caused the Debian Bug report #597424,
regarding /usr/bin/pycentral: aptitude fails for multiple python versions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
597424: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597424
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-central
Version: 0.6.16
Severity: normal
File: /usr/bin/pycentral

Hi people,

It is a long time and repeatedly for aptitude to fail upgrading, because of 
several versions of python installed. Maybe, the problem is related to 
alternative. It always dumps:
``
  File "/usr/bin/pycentral", line 2349, in <module>
    main()
  File "/usr/bin/pycentral", line 2343, 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
''
Every time, I manually change /usr/bin/python to required version, but 
sometimes the link is restored.

----------------
Kejia


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-central depends on:
ii  python                        2.6.5-13   interactive high-level object-orie

python-central recommends no packages.

python-central suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
On 19.09.2010 17:21, Kejia wrote:
ValueError: /usr/bin/python does not match the python default version. It must 
be reset to point to python2.6
''
Every time, I manually change /usr/bin/python to required version, but 
sometimes the link is restored.

Then don't do it. Point.

Messing around with files managed by the management system is not what you want. If you need a custom python installation, please install one yourself in /usr/local, or /opt.


--- End Message ---

Reply via email to