Ich habe Debian 7 i386 auf meinem VPS (OpenVZ) installiert. Alles funktioniert einwandfrei, mit Ausnahme der Ländereinstellungen. Jeder Versuch, etwas zu installieren, zeigt Folgendes:
[...]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "pl_PL.UTF-8"
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: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
[...]
Was ich versucht habe:
- Ländereinstellungen selbst generieren -
update-locale LC_ALL="pl_PL.UTF-8"
- Shows: http://www.wklej.org/id/1248438/ apt-get install --reinstall locales
http://www.wklej.org/id/1248442/- Das gleiche mit
dpkg-reconfigure locales
+ Einstellungpl_PL.UTF-8
,pl_PL.ISO-8859-2
oder auchen_US
: http://www.wklej.org/id/1248446/ export LC_ALL=pl_PL.UTF-8
(auch auf root):-bash: warning: setlocale: LC_ALL: cannot change locale (pl_PL.UTF-8)
Folgendes zeigt das Gebietsschema:
root:~# locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=pl_PL.UTF-8
LANGUAGE=
LC_CTYPE="pl_PL.UTF-8"
LC_NUMERIC="pl_PL.UTF-8"
LC_TIME="pl_PL.UTF-8"
LC_COLLATE="pl_PL.UTF-8"
LC_MONETARY="pl_PL.UTF-8"
LC_MESSAGES="pl_PL.UTF-8"
LC_PAPER="pl_PL.UTF-8"
LC_NAME="pl_PL.UTF-8"
LC_ADDRESS="pl_PL.UTF-8"
LC_TELEPHONE="pl_PL.UTF-8"
LC_MEASUREMENT="pl_PL.UTF-8"
LC_IDENTIFICATION="pl_PL.UTF-8"
LC_ALL=
Nichts interessantes in / var / log gefunden. Sogar ein Wechsel von repo zu official + purge und manueller Installation löst mein Problem nicht, was sich bei jeder Neuinstallation von Debian 7 bemerkbar macht.