Package: python2.5
Version: 2.5.2-15
Severity: grave
Justification: renders package unusable

Hi

'aptitude full-upgrade' from etch to lenny aborts with the error:

  Processing was halted because there were too many errors.

These errors are probably caused by a wrong installation order of python
modules.
I've tried to extract all python related messages from the upgrade log.
Most of the directories dpkg wants to delete and fails contain symlinks
which were created during the upgrade process (at least their timestamps
are fresh), so it seems something is going wrong there too.

Upgrade log excerpt:

  Preparing to replace python-gnome2-desktop 2.14.0-3 (using 
.../python-gnome2-desktop_2.22.0-2_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-gnome2-desktop ...
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.3/site-packages/gtk-2.0/totem': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.3/site-packages/gtk-2.0/gnomeprint': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.3/site-packages/gtk-2.0': Directory not empty
  Preparing to replace python-opengl 2.0.1.09.dfsg.1-0.2 (using 
.../python-opengl_3.0.0~b6-3_all.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-opengl ...
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/Tk': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GLU/EXT': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GLU': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/ARB': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/ATI': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/EXT': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/HP': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/IBM': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/INTEL': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/MESA': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/NV': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/PGI': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/SGI': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/SGIS': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/SGIX': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/SUN': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/SUNX': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL/WIN': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL/GL': Directory not empty
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/OpenGL': Directory not empty
  Preparing to replace python-imaging 1.1.5-11 (using 
.../python-imaging_1.1.6-3_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-imaging ...
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.3/site-packages/PIL': Directory not empty
  Preparing to replace python-twisted-bin 2.4.0-3 (using 
.../python-twisted-bin_8.1.0-4_i386.deb) ...
  Unpacking replacement python-twisted-bin ...
  dpkg: warning - unable to delete old directory 
`/usr/lib/python2.4/site-packages/twisted/spread': Directory not empty
  Preparing to replace python-zopeinterface 3.3.0-6 (using 
.../python-zopeinterface_3.3.1-7_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-zopeinterface ...
  Preparing to replace python-twisted-core 2.4.0-3 (using 
.../python-twisted-core_8.1.0-4_all.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-twisted-core ...
  Preparing to replace python-pygame 1.7.1release-4.1 (using 
.../python-pygame_1.7.1release-4.2_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-pygame ...
  Preparing to replace python-sip4 4.4.5-4 (using 
.../python-sip4_4.7.6-1_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-sip4 ...
  Preparing to replace python-qt3 3.16-1.2 (using 
.../python-qt3_3.17.4-1_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-qt3 ...
  Preparing to replace python-gst0.10 0.10.5-5 (using 
.../python-gst0.10_0.10.12-1.1_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-gst0.10 ...
  Preparing to replace python-xml 0.8.4-6 (using 
.../python-xml_0.8.4-10.1_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-xml ...
  Preparing to replace python-gammu 0.15-1 (using 
.../python-gammu_0.26-1_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-gammu ...
  Preparing to replace python-bluez 0.9.1-1 (using 
.../python-bluez_0.15-1.1_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-bluez ...
  Preparing to replace python-wxgtk2.6 2.6.3.2.1.5 (using 
.../python-wxgtk2.6_2.6.3.2.2-3_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-wxgtk2.6 ...
  Preparing to replace python-wxversion 2.6.3.2.1.5 (using 
.../python-wxversion_2.6.3.2.2-3_all.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-wxversion ...
  Preparing to replace python-pyao 0.82-1.2 (using 
.../python-pyao_0.82-2.1_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-pyao ...
  Preparing to replace python-twisted-runner 0.2.0-1.1 (using 
.../python-twisted-runner_8.0.0-1_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-twisted-runner ...
  Preparing to replace python-pyx 0.9-3 (using 
.../python-pyx_0.9-4+b1_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-pyx ...
  Preparing to replace python-newt 0.52.2-10 (using 
.../python-newt_0.52.2-11.3_i386.deb) ...
  INFO: using unsupported version '/usr/bin/python2.5'
  Unpacking replacement python-newt ...
  Setting up python2.5-minimal (2.5.2-15) ...Linking and byte-compiling 
packages for runtime python2.5...
  file does not exist: /usr/lib/python2.5/site-packages/_spe/plugins/kikifile 
does not exist: /usr/lib/python2.5/site-packages/_spe/plugins/wxGlade
  Errors were ignored.
  /usr/lib/python2.5/site-packages/Gnuplot/PlotItems.py:88: Warning: 'with' 
will b
  ecome a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/PlotItems.py:89: Warning: 'with' 
will b
  ecome a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/demo.py:50: Warning: 'with' will 
become
   a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:73: Warning: 'with' will 
become
   a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:86: Warning: 'with' will 
become
   a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:103: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:106: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:107: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:113: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:114: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:116: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:130: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:158: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:183: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:188: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:232: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  /usr/lib/python2.5/site-packages/Gnuplot/test.py:234: Warning: 'with' will 
becom
  e a reserved keyword in Python 2.6
  Setting up python (2.5.2-3) ...
  running python rtupdate hooks for python2.5...
  file does not exist: /usr/lib/python2.5/site-packages/_spe/plugins/kiki
  file does not exist: /usr/lib/python2.5/site-packages/_spe/plugins/wxGlade
  pycentral: pycentral updatedefault: error byte-compiling files (221)
  pycentral updatedefault: error byte-compiling files (221)
  error running python rtupdate hook pycentral
  Updating *.pc symlinks for python-gst0.10...
  Updating *.pc symlinks for python-gtk2-dev...
  dpkg: error processing python (--configure):
   subprocess post-installation script returned error exit status 4
  dpkg: dependency problems prevent configuration of python-zopeinterface:
   python-zopeinterface depends on python (<< 2.6); however:
    Package python is not configured yet.
   python-zopeinterface depends on python (>= 2.4); however:
    Package python is not configured yet.
  dpkg: error processing python-zopeinterface (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of python-sip4:
   python-sip4 depends on python (<< 2.6); however:
    Package python is not configured yet.
   python-sip4 depends on python (>= 2.4); however:
    Package python is not configured yet.
  dpkg: error processing python-sip4 (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of python-imaging-tk:
  [..]
  dpkg: dependency problems prevent configuration of python-apt:
   python-apt depends on python (<< 2.6); however:
    Package python is not configured yet.
   python-apt depends on python (>= 2.4); however:
    Package python is not configured yet.
  dpkg: error processing python-apt (--configure):
   dependency problems - leaving unconfigured
  dpkg: too many errors, stopping
  Errors were encountered while processing:
   python
   [..]
  Processing was halted because there were too many errors.


Trying to recover:

  # dpkg --configure python
  Setting up python (2.5.2-3) ...
  running python rtupdate hooks for python2.5...
  file does not exist: /usr/lib/python2.5/site-packages/_spe/plugins/kiki
  file does not exist: /usr/lib/python2.5/site-packages/_spe/plugins/wxGlade
  pycentral: pycentral updatedefault: error byte-compiling files (221)
  pycentral updatedefault: error byte-compiling files (221)
  error running python rtupdate hook pycentral
  Updating *.pc symlinks for python-gst0.10...
  Updating *.pc symlinks for python-gtk2-dev...
  dpkg: error processing python (--configure):
   subprocess post-installation script returned error exit status 4
  Errors were encountered while processing:
   python

  # ll /usr/lib/python2.5/site-packages/_spe/plugins/kiki
  lrwxrwxrwx 1 root root 56 Feb  4 23:14 
/usr/lib/python2.5/site-packages/_spe/plugins/kiki -> 
/usr/share/pycentral/spe/site-packages/_spe/plugins/kiki
  # ll /usr/share/pycentral/spe/site-packages/_spe/plugins/kiki
  lrwxrwxrwx 1 root root 35 Feb  3 15:36 
/usr/share/pycentral/spe/site-packages/_spe/plugins/kiki -> 
../../../../kiki/site-packages/kiki
  # cd /usr/share/pycentral/spe/site-packages/_spe/plugins
  # ll ../../../../kiki/site-packages/kiki
  ls: ../../../../kiki/site-packages/kiki: No such file or directory

  # ll ll /usr/lib/python2.5/site-packages/_spe/plugins/wxGlade
  lrwxrwxrwx 1 root root 59 Feb  4 23:14 
/usr/lib/python2.5/site-packages/_spe/plugins/wxGlade -> 
/usr/share/pycentral/spe/site-packages/_spe/plugins/wxGlade
  # ll /usr/share/pycentral/spe/site-packages/_spe/plugins/wxGlade
  lrwxrwxrwx 1 root root 48 Feb  3 15:36 
/usr/share/pycentral/spe/site-packages/_spe/plugins/wxGlade -> 
../../../../python-wxglade/site-packages/wxglade
  # cd /usr/share/pycentral/spe/site-packages/_spe/plugins        
  # ll ../../../../python-wxglade/site-packages/wxglade
  ls: ../../../../python-wxglade/site-packages/wxglade: No such file or 
directory

Maybe spe should have been upgraded before python?
Unfortunately it's not installable at the current broken state.
But temporarily purging spe resolves the conflict, python is
configurable then and spe reinstallable after it.

Regards

Uwe


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (750, 'testing'), (650, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages python2.5 depends on:
ii  libbz2-1.0                1.0.5-1        high-quality block-sorting file co
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libdb4.5                  4.5.20-13      Berkeley v4.5 Database Libraries [
ii  libncursesw5              5.7+20081213-1 shared libraries for terminal hand
ii  libreadline5              5.2-3.1        GNU readline and history libraries
ii  libsqlite3-0              3.5.9-5        SQLite 3 shared library
ii  libssl0.9.8               0.9.8g-15      SSL shared libraries
ii  mime-support              3.44-1         MIME files 'mime.types' & 'mailcap
ii  python2.5-minimal         2.5.2-15       A minimal subset of the Python lan

python2.5 recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to