Package: python-central
Version: 0.6.7
Severity: important

Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1891, in ?
    main()
  File "/usr/bin/pycentral", line 1885, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1296, in run
    runtimes = get_installed_runtimes()
  File "/usr/bin/pycentral", line 210, in get_installed_runtimes
    default_version = pyversions.default_version(version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 163, 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.4
dpkg: error processing /var/cache/apt/archives/python-imaging_1.1.6-2_amd64.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 1

On my system the symlinks, as per alternatives, looks like this:
/usr/bin/python -> /etc/alternatives/python -> /usr/bin/python2.4

This looks like an upstream bug.
They primarily try the os.readlink (line 142) path name instead of executing 
default Python and looking at sys.version.
They should rely solely on sys.version, it's 100% reliable, there's no need to 
check the path name at all.

Anyways, this forces users to denounce the alternatives system, which is not 
good.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages python-central depends on:
ii  python                        2.4.4-2    An interactive high-level object-o

python-central recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to