Il y a quelques jours, j'ai essayé d'installer git sur mon système Debian. L'installation a échoué et depuis, j'obtiens une erreur de locales à chaque fois que j'essaie d'installer/de supprimer quelque chose 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)
J'ai essayé de reconfigurer les locales mais j'obtiens la même erreur... comment puis-je résoudre ce problème ?
salutations