I
ivan.pavlov
I am running Debian/Linux unstable. Trying to upgrade packages
depending on python (via aptitude) has started to give errors and
leaves all packeges unconfigured. When I run dpkg --configure pyhton2.3
the following errors occur.
Any advice on what to do?
Setting up python2.3 (2.3.5-8) ...
Compiling python modules in /usr/lib/python2.3 ...
Compiling /usr/lib/python2.3/site-packages/srcb/generator.py ...
File "/usr/lib/python2.3/site-packages/srcb/generator.py", line 331
return (_p( *x ) for x in parser.parse_xdoc( line ))
^
SyntaxError: invalid syntax
Compiling /usr/lib/python2.3/site-packages/srcb/interp.py ...
File "/usr/lib/python2.3/site-packages/srcb/interp.py", line 61
@staticmethod
^
SyntaxError: invalid syntax
Compiling /usr/lib/python2.3/site-packages/srcb/multimethods.py ...
File "/usr/lib/python2.3/site-packages/srcb/multimethods.py", line 50
sig = tuple( x.__class__.__name__ for x in args )
^
SyntaxError: invalid syntax
Compiling /usr/lib/python2.3/site-packages/srcb/parser.py ...
File "/usr/lib/python2.3/site-packages/srcb/parser.py", line 67
mode = dict( (k, tuple( re.compile( e ) for e in v )) for (k, v) in
mode.iteritems() )
^
SyntaxError: invalid syntax
Compiling /usr/lib/python2.3/site-packages/srcb/visitor.py ...
File "/usr/lib/python2.3/site-packages/srcb/visitor.py", line 137
@staticmethod
^
SyntaxError: invalid syntax
depending on python (via aptitude) has started to give errors and
leaves all packeges unconfigured. When I run dpkg --configure pyhton2.3
the following errors occur.
Any advice on what to do?
Setting up python2.3 (2.3.5-8) ...
Compiling python modules in /usr/lib/python2.3 ...
Compiling /usr/lib/python2.3/site-packages/srcb/generator.py ...
File "/usr/lib/python2.3/site-packages/srcb/generator.py", line 331
return (_p( *x ) for x in parser.parse_xdoc( line ))
^
SyntaxError: invalid syntax
Compiling /usr/lib/python2.3/site-packages/srcb/interp.py ...
File "/usr/lib/python2.3/site-packages/srcb/interp.py", line 61
@staticmethod
^
SyntaxError: invalid syntax
Compiling /usr/lib/python2.3/site-packages/srcb/multimethods.py ...
File "/usr/lib/python2.3/site-packages/srcb/multimethods.py", line 50
sig = tuple( x.__class__.__name__ for x in args )
^
SyntaxError: invalid syntax
Compiling /usr/lib/python2.3/site-packages/srcb/parser.py ...
File "/usr/lib/python2.3/site-packages/srcb/parser.py", line 67
mode = dict( (k, tuple( re.compile( e ) for e in v )) for (k, v) in
mode.iteritems() )
^
SyntaxError: invalid syntax
Compiling /usr/lib/python2.3/site-packages/srcb/visitor.py ...
File "/usr/lib/python2.3/site-packages/srcb/visitor.py", line 137
@staticmethod
^
SyntaxError: invalid syntax