Package: python2.4-minimal Version: 2.4.4-4 After a dist-upgrade last night my python2.4 installation seems broken - I seem to be unable to run any python program (at least, every one I tried failed). Including the python scripts needed during apt-get dist-upgrade, or in other words things started to fail during the upgrade (I had an interesting time getting it to finish so I would not be stuck with a completely unusable machine).
As far as I can see, I always get the same error, an example [EMAIL PROTECTED]:~$ reportbug warning: Python C API version mismatch for module _locale: This Python has API version 1012, module _locale has version 1013. warning: Python C API version mismatch for module time: This Python has API version 1012, module time has version 1013. Traceback (most recent call last): File "/usr/bin/reportbug", line 39, in ? import optparse, re, os, pwd, time, locale, commands, checkversions File "/usr/lib/python2.4/locale.py", line 165, in ? import re, operator ImportError: /usr/lib/python2.4/lib-dynload/operator.so: undefined symbol: PyNumber_Index I am filing this here as dpkg -S reports /usr/lib/python2.4/lib-dynload/operator.so as coming from python2.4-minimal. It might be of interest - to get the upgrade to finish I've exported PYTHONPATH as PYTHONPATH=/usr/lib/python24.zip:/usr/lib/python2.4:\\ /usr/lib/python2.4/plat-linux2:/usr/lib/python2.3:\\ /usr/lib/python2.3/plat-linux2/:/usr/lib/python2.3/lib-dynload/ which seemed to work for apt but does not work for e.g. reportbug - if I try I get [EMAIL PROTECTED]:~$ PYTHONPATH=/usr/lib/python24.zip:\\ /usr/lib/python2.4:/usr/lib/python2.4/plat-linux2:/usr/lib/python2.3:\\ /usr/lib/python2.3/plat-linux2/:/usr/lib/python2.3/lib-dynload/ [EMAIL PROTECTED]:~$ export PYTHONPATH [EMAIL PROTECTED]:~$ reportbug Traceback (most recent call last): File "/usr/bin/reportbug", line 39, in ? import optparse, re, os, pwd, time, locale, commands, checkversions File "/usr/share/reportbug/checkversions.py", line 30, in ? import os, re, sys, urllib2 File "/usr/lib/python2.4/urllib2.py", line 90, in ? import base64 File "/usr/lib/python2.4/base64.py", line 9, in ? import struct File "/usr/lib/python2.4/struct.py", line 30, in ? from _struct import Struct, error ImportError: /usr/lib/python2.4/lib-dynload/_struct.so: undefined symbol: PyErr_WarnEx and, according to dpkg -S, /usr/lib/python2.4/lib-dynload/_struct.so does not exist (dpkg: /usr/lib/python2.4/lib-dynload/_struct.so not found). At which point I decided to give up and submit the bug report via email (hope I got the formatting right). I'm using Debian GNU/Linux lenny/sid, kernel 2.6.21-1-k7, and libc6_2.5-11_i386.deb. If there's any other information that you'd need I'd be happy to provide it. Thanks, Tina -- He who drinks beer sleeps well. He who sleeps well cannot sin. He who does not sin goes to heaven. Amen (unknown German Monk) gpg key id 1024D/B831460A available from www.rumpelkeks.de fingerprint 2298 6ABD 69A6 CC4B 5764 3A1B 156E CDC2 B831 460A
signature.asc
Description: This is a digitally signed message part.