Las locales, o sistema que usan los sistemas *NIX para utilizar uno u otro idioma, en sus operaciones internas, mensajes de ayuda, compilación de programas, sufren algunas veces desajustes, y podemos ver mensajes con el de mas abajo:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_CTYPE = "es_ES.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8”)
Contenidos
Lo primero sería re-configurar las locales (en mi caso uso en_US.UTF-8 en mis sistemas, porque prefiero entenderme en inglés para la administración de sistemas, por existir más y mejor información en internet, de los mensajes de error en inglés)
sudo dpkg-reconfigure locales
sudo apt-get install language-pack-en
Reading package lists... Done
Building dependency tree
Reading state information... Done
language-pack-en is already the newest version (1:16.04+20161009).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
sudo locale-gen en_US en_US.UTF-8
Generating locales (this might take a while)...
en_US.ISO-8859-1... done
en_US.UTF-8... done
Generation complete.
nano /etc/default/locale
LANG=en_US.UTF-8
LC_ALL="en_US.UTF-8”
LANGUAGE="en_US:en"
Tras una actualización de uso sistemas míos basados en Debian, me encontré nuevamente con el problema, y la solución expuesta no me funciono.
Así que tuve que buscarme nuevamente una solución y la que me funciono, paso por hacer una install de las locales, y después nuevamente reconfigurar las locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "es_ES.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_CTYPE 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_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
en_GB.UTF-8... done
en_US.UTF-8... done
Generation complete.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "es_ES.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "es_ES.UTF-8",
LANG = "C"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
aptitude install locales-all
dpkg-reconfigure locales
Actualizado 13/03/2017 y funciona con el tip de la anterior edición
Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "es_ES.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 48182 files and directories currently installed.)
Removing grub-pc-bin (2.02-pve5) ...
Imagen Designed by Freepik y retocada por Abdelkarim Mateos
Comparte este artículo
Comparte este articulo en
No es la primera vez que me encuentro con el agotamiento de la memoria en…
Descubre cómo solucionar problemas de acceso a servidores con Centos 7, Almalinux 8, Ubuntu 20.04…
Uno de los mensajes más alarmantes que puedes encontrarte es aquel que indica que tu…
La seguridad de nuestro sitio web es de vital importancia en el mundo digital actual.…
Los ficheros SVG son archivos gráficos vectoriales escalables ampliamente utilizados en diseño web. Aunque no…
En este artículo, te guiamos en la solución de problemas de errores 500 en Castris…