Some days ago i tried to install git on my Debian system. The instalation aborted and since this moment i get a locales error everytime i try do install/remove something via apt -.-
apt-get remove git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
git
0 upgraded, 0 newly installed, 1 to remove and 75 not upgraded.
18 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = "de_DE",
LANG = "de_DE@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Kann LC_ALL nicht auf die Standard-Lokale einstellen: Datei oder Verzeichnis nicht gefunden
dpkg: error processing git (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
git
E: Sub-process /usr/bin/dpkg returned an error code (1)
i tried to reconfigure locales but i get the same error... how can i fix this?
greetz