Acho que você precisa gerar o fa_IR
locale:
sudo locale-gen fa_IR
Desejo instalar lamp-server
via tasksel
. Mas quando eu entro no comando:
sudo tasksel install lamp-server
, recebo erro:
locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "fa_IR",
LC_ADDRESS = "fa_IR",
LC_MONETARY = "fa_IR",
LC_NUMERIC = "fa_IR",
LC_TELEPHONE = "fa_IR",
LC_IDENTIFICATION = "fa_IR",
LC_MEASUREMENT = "fa_IR",
LC_TIME = "fa_IR",
LC_NAME = "fa_IR",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
tasksel: aptitude failed (100)
O que devo fazer?
UPDATE: A saída de locale -a
:
C
C.UTF-8
en_US.utf8
POSIX
Acho que você precisa gerar o fa_IR
locale:
sudo locale-gen fa_IR
Tente isso. Apenas pressione Ctrl + Alt + T no seu teclado para abrir o Terminal. Quando se abre, execute o (s) comando (s) abaixo:
export LANGUAGE=fa_IR
export LANG=en_US.UTF-8
export LC_ALL=fa_IR
locale-gen en_US.UTF-8
dpkg-reconfigure locales
Tente fazer isso:
sudo apt-get update
sudo tasksel lamp-server