[pkg-fso-maint] python-yaml configuration problem

Joachim Breitner nomeata at debian.org
Sun Jan 11 16:47:21 UTC 2009


Hi,

Am Sonntag, den 11.01.2009, 17:41 +0100 schrieb Michele Renda:
> > "apt-get -f install"
> > and paste us the complete log output?
> >    
> Yes, for sure: (I did before an apt-get update / apt-get upgrade / 
> apt-get dist-upgrade to be sure)
> 
> debian-gta02:~# apt-get -f install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0B of additional disk space will be used.
> Setting up python-yaml (3.08-1) ...
> Traceback (most recent call last):
>    File "/usr/bin/pycentral", line 3, in <module>
>      import fnmatch, glob, os, re, string, sys, time, cStringIO
>    File "/usr/lib/python2.5/string.py", line 122, in <module>
>      class Template:
>    File "/usr/lib/python2.5/string.py", line 119, in __init__
>      cls.pattern = _re.compile(pattern, _re.IGNORECASE | _re.VERBOSE)
>    File "/usr/lib/python2.5/re.py", line 188, in compile
>      return _compile(pattern, flags)
>    File "/usr/lib/python2.5/re.py", line 239, in _compile
>      p = sre_compile.compile(pattern, flags)
>    File "/usr/lib/python2.5/sre_compile.py", line 507, in compile
>      p = sre_parse.parse(p, flags)
>    File "/usr/lib/python2.5/sre_parse.py", line 679, in parse
>      p = _parse_sub(source, pattern, 0)
>    File "/usr/lib/python2.5/sre_parse.py", line 314, in _parse_sub
>      itemsappend(_parse(source, state))
>    File "/usr/lib/python2.5/sre_parse.py", line 639, in _parse
>      p = _parse_sub(sourcewtstate)
> NameError: global name 'sourcewtstate' is not defined
> dpkg: error processing python-yaml (--configure):
>   subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>   python-yaml
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> debian-gta02:~#

Hmm. Did you have some file system corruption? My line 639
of /usr/lib/python2.5/sre_parse.py looks different.

You can probably work around it by running
apt-get --reinstall install python2.5-minimal

You can also use the debsums package to verify your other installed
files.

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090111/a15c9559/attachment.pgp 


More information about the pkg-fso-maint mailing list