ubuntuusers.de

Fehler bei Update von Python2.7

Status: Ungelöst | Ubuntu-Version: Ubuntu 12.04 (Precise Pangolin)
Antworten |

Holger63

Avatar von Holger63

Anmeldungsdatum:
8. Juni 2006

Beiträge: 695

Wohnort: Wesel, Nordrhein-Westfalen

Hallo,

heute habe ich das aktuellste Update für Ubuntu 12.04 installieren wollen. Beim Konfigurieren von Python 2.7 traten allerdings Fehler auf:

root@andromeda:~# dpkg --configure -a
python2.7-minimal (2.7.3-0ubuntu3.2) wird eingerichtet ...
SyntaxError: ('invalid syntax', ('/usr/lib/python2.7/subprocess.py', 1184, 45, '                            closed = { None }\n'))
SyntaxError: ('invalid syntax', ('/usr/lib/python2.7/runpy.py', 79, 46, '    with _TempModule(mod_name) as temp_module, _ModifiedArgv0(mod_fname):\n'))
dpkg: Fehler beim Bearbeiten von python2.7-minimal (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python2.7:
 python2.7 hängt ab von python2.7-minimal (= 2.7.3-0ubuntu3.2); aber:
  Paket python2.7-minimal ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von python2.7 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python2.7-dev:
 python2.7-dev hängt ab von python2.7 (= 2.7.3-0ubuntu3.2); aber:
  Paket python2.7 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von python2.7-dev (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von libpython2.7:
 libpython2.7 hängt ab von python2.7 (= 2.7.3-0ubuntu3.2); aber:
  Paket python2.7 ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von libpython2.7 (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 python2.7-minimal
 python2.7
 python2.7-dev
 libpython2.7

Die Fehler treten beim Erstellen des Bytecodes aus. Ich kann allerdings keine Fehler in subprocess.py und runpy.py entdecken. Weiß jemand, wie ich das Update fortsetzen kann?

Gruß, Holger

Antworten |