Autor Tópico: Problema com Locale  (Lida 1939 vezes)

Offline caf3ina

  • Usuário Ubuntu
  • *
  • Mensagens: 40
    • Ver perfil
Problema com Locale
« Online: 26 de Agosto de 2010, 13:42 »
Fui efetuar a instalação do cups no Ubuntu Server e estou recebendo umas mensagens de erro , segue:


Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "pt_BR",
        LC_ALL = "pt_BR",
        LC_MESSAGES = "pt_BR",
        LANG = "pt_BR"
    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
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done

eu já removi pelo apt-get , pelo dpkg já reinstalei.. e continua :/

minha configuração do /etc/enviroment
#PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"

LANG="pt_BR.UTF-8"
LANGUAGE="pt_BR:pt:en"

fui tentar expurgar e deu esse erro
sudo dpkg --purge locales
[sudo] password for suporte:
(Reading database ... 62650 files and directories currently installed.)
Removing locales ...
Purging configuration files for locales ...
dpkg: warning: while removing locales, directory '/usr/lib/locale' not empty so not removed.
Processing triggers for man-db ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "pt_BR:pt:en",
        LC_ALL = "pt_BR",
        LC_CTYPE = "ISO-8859-1",
        LC_MESSAGES = "pt_BR",
        LANG = "pt_BR.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
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "pt_BR:pt:en",
        LC_ALL = "pt_BR",
        LC_CTYPE = "ISO-8859-1",
        LC_MESSAGES = "pt_BR",
        LANG = "pt_BR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
/usr/bin/mandb: can't set the locale; make sure $LC_* and $LANG are correct

« Última modificação: 27 de Agosto de 2010, 08:40 por caf3ina »
"Livre por necessidade... Linux por opção."
vem comigo @talesc