fernando9
(usa Debian)
Enviado em 13/09/2014 - 15:32h
pinguintux escreveu:
Bom dia!
Prezado, tente realizar os procedimentos abaixo:
# apt-get install locales
# locale-gen pt_BR pt_BR.UTF-8
# dpkg-reconfigure locales
Atualize o sistema:
# apt-get dist-upgrade
Configure o fuso horário
# dpkg-reconfigure tzdata
OBS.: Selecione America e São Paulo.
OBS1:. Caso o seu problema seja solucionado, não esqueça de marcar o tópico como RESOLVIDO e a MELHOR RESPOSTA. Dentro do possível, descreva a solução para que outras pessoas também possam se beneficiar!
Boa sorte!
Boa tarde! Caro pinguintux, primeiramente, obrigado pela sua respostas, realizei os procedimentos que me indicou. Mas continuam dando erro:
# apt-get install locales
Reading package lists... Done
Building dependency tree
Reading state information... Done
locales is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
# locale-gen pt_BR.UTF-8
Generating locales (this might take a while)...
pt_BR.ISO-8859-1.../usr/sbin/locale-gen: 60: /usr/sbin/locale-gen: localedef: not found
done
Generation complete.
# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
libc-bin
The following packages will be upgraded:
bind9-host dnsutils libbind9-80 libdns88 libisc84 libisccc80 libisccfg82
liblwres80
8 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2640 kB of archives.
After this operation, 3292 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Can't set locale; make sure $LC_* and $LANG are correct!
Reading changelogs... Feito
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "pt_BR:pt:en",
LC_ALL = (unset),
LANG = "pt_BR"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)