Tag alle,
seit ein paar Tagen jammere ich das ich mein Paketsystem zerschossen habe. Nur das ich nie ein Erfolg erzielen kann es wieder zu entfernen.
Mein Problem: Anscheinend habe ich einen fehlerhaften Debian Paket installiert. Dadurch kann ich anscheinend keine Programme über Synaptic, apt-get oder dpkg installieren oder entfernen.
Die Fehlermeldungen:
1. Versuch, ich probiere das Paket über Synaptic zu entfernen. Aber hier kriege ich immer dieser Fehlermeldung:
E: ufoai-data: subprocess post-removal script returned error exit status 127
2. Versuch, jetzt über apt-get:
ss2@ss2-ubuntu:~$ sudo apt-get remove ufoai-data Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: ufoai-data 0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 43.6MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 79093 files and directories currently installed.) Removing ufoai-data ... /var/lib/dpkg/info/ufoai-data.postrm: line 4: update-ufoai-campaign: command not found dpkg: error processing ufoai-data (--remove): subprocess post-removal script returned error exit status 127 Errors were encountered while processing: ufoai-data E: Sub-process /usr/bin/dpkg returned an error code (1) ss2@ss2-ubuntu:~$
3. Versuch, nicht mal über dpkg kann ich es entfernen:
ss2@ss2-ubuntu:~$ sudo dpkg -r ufoai-data (Reading database ... 79093 files and directories currently installed.) Removing ufoai-data ... /var/lib/dpkg/info/ufoai-data.postrm: line 4: update-ufoai-campaign: command not found dpkg: error processing ufoai-data (--remove): subprocess post-removal script returned error exit status 127 Errors were encountered while processing: ufoai-data ss2@ss2-ubuntu:~$
Also wie ich es inzwischen so identifizieren konnte scheint eine Zeile in der Datei ufoai-data.postrm was falsch geschrieben zu sein.
ufoai-data.postrm:
#!/bin/sh set -e update-ufoai-campaign /usr/lib/games/ufoai/base/campaigns/main
So würde mal sagen wars das erstmal. Nur würde ich jetzt gerne wissen was ich in der Datei ändern sollte. Denn ich habe kein /games in /usr/lib.
Würde jetzt auch denken das ich jetzt genug Information fürs erste geschrieben habe. Und Danke noch im voraus