[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems with upgrading Python



Hello,
After struggeling the whole day I still have a problem with upgrading
my Python installation. There were some bug reports with workaround I read
(on debian BTS) but nothing works up to now. Here is the output of
<apt-get -f install>:

'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in ?
    import fnmatch, glob, os, re, sys, time
  File "/usr/lib/python2.4/fnmatch.py", line 13, in ?
    import re
  File "/usr/lib/python2.4/re.py", line 5, in ?
    from sre import *
  File "/usr/lib/python2.4/sre.py", line 97, in ?
    import sre_compile
  File "/usr/lib/python2.4/sre_compile.py", line 17, in ?
    assert _sre.MAGIC == MAGIC, "SRE module mismatch"
AssertionError: SRE module mismatch
dpkg: error processing python2.3 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python:
 python depends on python2.3 (>= 2.3.5-14); however:
  Package python2.3 is not configured yet.
dpkg: error processing python (--configure):
 dependency problems - leaving unconfigured
Setting up python-clientcookie (1.3.0-1) ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in ?
    import fnmatch, glob, os, re, sys, time
  File "/usr/lib/python2.4/fnmatch.py", line 13, in ?
    import re
  File "/usr/lib/python2.4/re.py", line 5, in ?
    from sre import *
  File "/usr/lib/python2.4/sre.py", line 97, in ?
    import sre_compile
  File "/usr/lib/python2.4/sre_compile.py", line 17, in ?
    assert _sre.MAGIC == MAGIC, "SRE module mismatch"
AssertionError: SRE module mismatch
dpkg: error processing python-clientcookie (--configure):
 subprocess post-installation script returned error exit status 1
Setting up python2.4-minimal (2.4.3-7) ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in ?
    import fnmatch, glob, os, re, sys, time
  File "/usr/lib/python2.4/fnmatch.py", line 13, in ?
    import re
  File "/usr/lib/python2.4/re.py", line 5, in ?
    from sre import *
  File "/usr/lib/python2.4/sre.py", line 97, in ?
    import sre_compile
  File "/usr/lib/python2.4/sre_compile.py", line 17, in ?
    assert _sre.MAGIC == MAGIC, "SRE module mismatch"
AssertionError: SRE module mismatch
dpkg: error processing python2.4-minimal (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python2.4:
 python2.4 depends on python2.4-minimal (= 2.4.3-7); however:
  Package python2.4-minimal is not configured yet.
dpkg: error processing python2.4 (--configure):
 dependency problems - leaving unconfigured
Setting up python-pullparser (0.1.0-1) ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in ?
    import fnmatch, glob, os, re, sys, time
  File "/usr/lib/python2.4/fnmatch.py", line 13, in ?
    import re
  File "/usr/lib/python2.4/re.py", line 5, in ?
    from sre import *
  File "/usr/lib/python2.4/sre.py", line 97, in ?
    import sre_compile
  File "/usr/lib/python2.4/sre_compile.py", line 17, in ?
    assert _sre.MAGIC == MAGIC, "SRE module mismatch"
AssertionError: SRE module mismatch
dpkg: error processing python-pullparser (--configure):
 subprocess post-installation script returned error exit status 1
Setting up python-tz (2006g-1) ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 3, in ?
    import fnmatch, glob, os, re, sys, time
  File "/usr/lib/python2.4/fnmatch.py", line 13, in ?
    import re
  File "/usr/lib/python2.4/re.py", line 5, in ?
    from sre import *
  File "/usr/lib/python2.4/sre.py", line 97, in ?
    import sre_compile
  File "/usr/lib/python2.4/sre_compile.py", line 17, in ?
    assert _sre.MAGIC == MAGIC, "SRE module mismatch"
AssertionError: SRE module mismatch
dpkg: error processing python-tz (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python2.3
 python
 python-clientcookie
 python2.4-minimal
 python2.4
 python-pullparser
 python-tz
E: Sub-process /usr/bin/dpkg returned an error code (1)

With <dpkg --configure -a> I get the following:

dpkg: dependency problems prevent configuration of python:
 python depends on python2.3 (>= 2.3.5-14); however:
  Package python2.3 is not configured yet.
dpkg: error processing python (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python

python-central versions I tested were:
0.4.17
0.5.0
0.5.1

python2.3 is 2.3.5-14

Plaese tell me, whats wrong. Is it a bug or is the bug sitting in front
of the monitor?

Thanks in advance

Guido



Reply to: