Sub-process /usr/bin/dpkg returned an error code (2)

Alle weiteren Dienste, die nicht in die drei oberen Foren gehören.
Antworten
drak
Beiträge: 1
Registriert: 27.07.2015 14:52:39

Sub-process /usr/bin/dpkg returned an error code (2)

Beitrag von drak » 27.07.2015 15:04:24

Hallo,
bin recht neu in der Linux Welt, aber habe direkt schon ein Problem.

Nach mehrmaligen deinstallieren von einem Paket, geht auf einmal nichts mehr. Egal was ich eingebe mit „apt-get upgrade“ es kommt immer folgende Fehlermeldung.
/usr/bin/dpkg: 2: /usr/bin/dpkg: Hash:: not found
/usr/bin/dpkg: 4: /usr/bin/dpkg: Format:: not found
/usr/bin/dpkg: 5: /usr/bin/dpkg: Date:: not found
/usr/bin/dpkg: 6: /usr/bin/dpkg: Source:: not found
/usr/bin/dpkg: 7: /usr/bin/dpkg: Binary:: not found
/usr/bin/dpkg: 8: /usr/bin/dpkg: Architecture:: not found
/usr/bin/dpkg: 9: /usr/bin/dpkg: Version:: not found
/usr/bin/dpkg: 10: /usr/bin/dpkg: Distribution:: not found
/usr/bin/dpkg: 11: /usr/bin/dpkg: Urgency:: not found
/usr/bin/dpkg: 13: /usr/bin/dpkg: Syntax error: newline unexpected
E: Sub-process /usr/bin/dpkg returned an error code (2)

Könnt Ihr mir vielleicht helfen?
Wenn Ihr weiter Infos benötig, dann reiche ich sie gerne nach.
Danke

pferdefreund
Beiträge: 3800
Registriert: 26.02.2009 14:35:56

Re: Sub-process /usr/bin/dpkg returned an error code (2)

Beitrag von pferdefreund » 27.07.2015 19:39:13

wenn neu in Linux - wurde da irgendwas von Hand gelöscht ? Als Anfänger sollte man nur für echte Systemaufgaben als Root unterwegs sein - sonst natürlich auch. Ich empfehle den nicht wirklich üblichen Weg der Neuinstallation. Da ist sicherlich mehr im Argen. Was steht in /var/log/syslog - irgendwas mit /dev/sda error crc usw ?
Was sagt smartctl ?

Antworten