Erro ao instalar o servidor da lâmpada

0

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
    
por Mohammad Mehdi Habibi 03.09.2014 / 09:58

2 respostas

1

Acho que você precisa gerar o fa_IR locale:

sudo locale-gen fa_IR
    
por Gunnar Hjalmarsson 03.09.2014 / 11:14
1

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
    
por Mitch 03.09.2014 / 11:28