Fehler von dpkg

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Benutzeravatar
cray23kl
Beiträge: 272
Registriert: 19.04.2005 15:14:23
Lizenz eigener Beiträge: GNU General Public License

Fehler von dpkg

Beitrag von cray23kl » 29.07.2008 00:07:08

Hallo,

seit einigen Tagen habe ich das Problem, dass mit dpkg bei Paket-Installationen folgende Fehlermeldung ausgibt:

Code: Alles auswählen

...
Richte python ein (2.5.2-1) ...
running python rtupdate hooks for python2.5...
INFO: using old version '/usr/bin/python2.3'
Compiling /usr/lib/python2.5/site-packages/spambayes/FileCorpus.py ...
  File "/usr/lib/python2.5/site-packages/spambayes/FileCorpus.py", line 85
    from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file

Compiling /usr/lib/python2.5/site-packages/spambayes/message.py ...
  File "/usr/lib/python2.5/site-packages/spambayes/message.py", line 78
    from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file

Compiling /usr/lib/python2.5/site-packages/spambayes/Corpus.py ...
  File "/usr/lib/python2.5/site-packages/spambayes/Corpus.py", line 82
    from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file

pycentral: pycentral updatedefault: error byte-compiling files (48)
pycentral updatedefault: error byte-compiling files (48)
error running python rtupdate hook pycentral
Updating *.pc symlinks for python-gst0.10...
dpkg: Fehler beim Bearbeiten von python (--configure):
 Unterprozess post-installation script gab den Fehlerwert 4 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-central:
 python-central hängt ab von python (>= 2.4.3-10); aber:
  Paket python ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von python-central (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-imaging:
 python-imaging hängt ab von python (>= 2.4); aber:
  Paket python ist noch nicht konfiguriert.
 python-imaging hängt ab von python (<< 2.6); aber:
  Paket python ist noch nicht konfiguriert.
 python-imaging hängt ab von python-central (>= 0.5.8); aber:
  Paket python-central ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von python-imaging (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von hplip:
 hplip hängt ab von python (<< 2.6); aber:
  Paket python ist noch nicht konfiguriert.
 hplip hängt ab von python (>= 2.5); aber:
  Paket python ist noch nicht konfiguriert.
 hplip hängt ab von python-imaging; aber:
  Paket python-imaging ist noch nicht konfiguriert.
 hplip hängt ab von python (>= 2.4.4~c1); aber:
  Paket python ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von hplip (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von debian-goodies:
 debian-goodies hängt ab von python (>= 2.4); aber:
  Paket python ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von debian-goodies (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von dia-common:
 dia-common hängt ab von python; aber:
  Paket python ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von dia-common (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von dia:
 dia hängt ab von dia-common (= 0.96.1-7); aber:
  Paket dia-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von dia (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von dia-gnome:
 dia-gnome hängt ab von dia-common (= 0.96.1-7); aber:
  Paket dia-common ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von dia-gnome (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-numeric:
 python-numeric hängt ab von python (>= 2.4); aber:
  Paket python ist noch nicht konfiguriert.
 python-numeric hängt ab von python (<< 2.6); aber:
  Paket python ist noch nicht konfiguriert.
 python-numeric hängt ab von python-central (>= 0.5.8); aber:
  Paket python-central ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von python-numeric (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von python-cwiid:
 python-cwiid hängt ab von python (>= 2.5); aber:
  Paket python ist noch nicht konfiguriert.
 python-cwiid hängt ab von python (<< 2.6); aber:
  Paket python ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von python-cwiid (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von wminput:
 wminput hängt ab von python-cwiid; aber:
  Paket python-cwiid ist noch nicht konfiguriert.
dpkg: Fehler beim Bearbeiten von wminput (--configure):
 Abhängigkeitsprobleme - lasse es unkonfiguriert
Richte freeciv-data ein (2.1.5-2) ...
Fehler traten auf beim Bearbeiten von:
 python
 python-central
 python-imaging
 hplip
 debian-goodies
 dia-common
 dia
 dia-gnome
 python-numeric
 python-cwiid
 wminput
E: Sub-process /usr/bin/dpkg returned an error code (1)
Wie repariert man so etwas am einfachsten?

Viele Grüße
Christian

bastorran
Beiträge: 92
Registriert: 18.06.2007 12:55:24

Re: Fehler von dpkg

Beitrag von bastorran » 29.07.2008 11:26:09

HAllo,

so viel ich weiß ist python eine Interpretersprache, es scheint so, als ob dpkg dieses Skript durchgeht, ob alles richtig geschrieben ist. Kann es sein, dass einfach das Paket kaputt ist?

Kannst Du andere Pakete, also Nicht-Python, installieren?

Gruß
bastorran
"Ähhh, die Tastatur hat gesponnen ... "

Benutzeravatar
cray23kl
Beiträge: 272
Registriert: 19.04.2005 15:14:23
Lizenz eigener Beiträge: GNU General Public License

Re: Fehler von dpkg

Beitrag von cray23kl » 29.07.2008 12:24:53

Hallo,

ich kann alle Pakete installieren, bekomme aber am Ende des Durchlaufs von dpkg diese Fehlermeldung ausgegeben.

Eine Neuinstallation von python hat auch nichts gebracht.

Viele Grüße
Christian

Antworten