Arreglar problemas de locale en Raspbian

Si te aparecen errores como este al ejecutar comandos en Raspbian:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "es_ES.utf-8",
        LC_MONETARY = "es_ES.utf-8",
        LC_CTYPE = "es_ES.utf-8",
        LC_COLLATE = "es_ES.utf-8",
        LC_MESSAGES = "es_ES.utf-8",
        LC_NUMERIC = "es_ES.utf-8",
        LANG = "C"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

O estos:

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
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory

Es probable que tengas que editar el fichero /etc/default/locale para definir los locales por defecto:

LANG=en_GB.UTF-8
LC_ALL=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8

Tal vez también te guste

Solución a texturas negras en modelos 3D de Collada-dom
I used to have a problem with Collada-dom 3D models textures. Some times they were not correctly applied...
TP-Link TL-WN725N versión 2 en Raspberry Pi
Version 2 of TP-Link TL-WN725N driver doesn't come by default in Raspbian so it won't work by just plug-ining...
Instalar la imagen RAW de Raspbian dentro de una tarjeta SD en Mac OS X
First download a Raspbian RAW image from here: http://www.raspberrypi.org/downloads Plug-in your SD...
Compilar e instalar driver para TP-Link TL-WN725N versión 2 en Raspbian
NOTICE! This module is now deprecated as for kernel >= 3.10.0. If you update with rpi-update the module...
Dejar un comentario?

0 Comentarios.

Deje un comentario