Bug#571231: upgrade fails if not using default python
Brent S. Elmer
webe3vt at aim.com
Wed Feb 24 14:11:50 UTC 2010
Package: python-gst0.10
Version: 0.10.17-1+b1
Severity: normal
I have set up my up to date Squeeze box to use python 2.6 as my default python using alternatives. python-gst0.10 fails to upgrade because of it. I want to use python 2.6 as my default. Is there something else I need to set up to do so?
Here is the error in synaptic.
Preparing to replace python-gst0.10 0.10.17-1+b1 (using .../python-gst0.10_0.10.18-1_i386.deb) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2191, in <module>
main()
File "/usr/bin/pycentral", line 2185, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1643, 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.5
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2191, in <module>
main()
File "/usr/bin/pycentral", line 2185, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1643, 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.5
dpkg: error processing /var/cache/apt/archives/python-gst0.10_0.10.18-1_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2191, in <module>
main()
File "/usr/bin/pycentral", line 2185, 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.5
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/python-gst0.10_0.10.18-1_i386.deb
Not all changes and updates succeeded. For further details of the failure, please expand the 'Details' panel below.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32.100210 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-gst0.10 depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libglib2.0-0 2.22.4-1 The GLib library of C routines
pn libgstreamer-plugins-bas <none> (no description available)
pn libgstreamer0.10-0 <none> (no description available)
ii libpython2.6 2.6.4-5 Shared Python runtime library (ver
ii libxml2 2.7.6.dfsg-2+b1 GNOME XML library
ii python 2.5.4-9 An interactive high-level object-o
ii python-central 0.6.14+nmu2 register and build utility for Pyt
ii python-gobject 2.20.0-1+b1 Python bindings for the GObject li
ii python-libxml2 2.7.6.dfsg-2+b1 Python bindings for the GNOME XML
python-gst0.10 recommends no packages.
Versions of packages python-gst0.10 suggests:
pn python-gst0.10-dbg <none> (no description available)
pn python-gst0.10-dev <none> (no description available)
-- no debconf information
More information about the Pkg-gstreamer-maintainers
mailing list