Re: [Ubuntu-BR] localeconf

2006-09-17 Por tôpico caio ferreira
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Adriano Rafael Gomes wrote:
> caio ferreira escreveu:
>>  Mais um dado interessante, se por acaso eu rodo o comando
>>
>> [EMAIL PROTECTED]:~$ locale -a
>>
>> aparece o seguinte:
>>
>> 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_COLLATE to default locale: No such file or directory
>> C
>> POSIX
>> en_US.utf8
>>
>>  Parece que o pt_BR não foi instalado. Como é que eu faço para instalar.
> 
> Caio, não sei como fazer. Eu *tentaria* marcar/desmarcar/remarcar os
> locales desejados na lista que aparece na execução do dpkg-reconfigure
> locales.

Até agora o que eu fiz foi:

[EMAIL PROTECTED]:~$ sudo dpkg-reconfigure locales
Password:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "pt_BR:pt:pt_PT",
LC_ALL = (unset),
LC_MESSAGES = "en_US",
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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales...
  en_US.UTF-8... up-to-date
  pt_BR.UTF-8... up-to-date
Generation complete.
Current default timezone: 'America/Sao_Paulo'.
Local time is now:  Sun Sep 17 13:52:37 BRT 2006.
Universal Time is now:  Sun Sep 17 16:52:37 UTC 2006.
Run 'tzconfig' if you wish to change it.

$ sudo apt-get install language-pack-pt language-pack-pt-base

$ sudo vi /var/lib/locales/supported.d/local
pt_BR.UTF-8 UTF-8
en_US.UTF-8 UTF-8
pt_BR.ISO-8859-1 ISO-8859-1

$ sudo vi /etc/locale.alias
pt_BR   pt_BR.ISO-8859-1

$ sudo vi /etc/environment

$ sudo dpkg-reconfigure locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "pt_BR:pt:pt_PT",
LC_ALL = (unset),
LC_MESSAGES = "en_US",
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_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales...
  en_US.UTF-8... done
  pt_BR.ISO-8859-1... done
  pt_BR.UTF-8... up-to-date
  pt_PT.UTF-8... up-to-date
Generation complete.
Current default timezone: 'America/Sao_Paulo'.
Local time is now:  Sun Sep 17 14:00:57 BRT 2006.
Universal Time is now:  Sun Sep 17 17:00:57 UTC 2006.
Run 'tzconfig' if you wish to change it.


 .''`.   Caio Abreu Ferreira
: :'  :  GNU/Linux Debian
`. `'`   fingerprint 0B5 0357 B80C E53C 5EF6  9D58 2D1B 0602 45E5 183A
  `- Key ID 0x45E5183A
 Linux Couter 327834

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFDX9xLRsGAkXlGDoRCMpXAJ4sgfcV1okeYSA7hffMk4RLqicOUwCgjDQC
4rExk115v4TexNr6RXo1U68=
=KIOP
-END PGP SIGNATURE-

-- 
ubuntu-br mailing list
ubuntu-br@lists.ubuntu.com
www.ubuntu-br.org
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br


Re: [Ubuntu-BR] localeconf

2006-09-17 Por tôpico Adriano Rafael Gomes
caio ferreira escreveu:
>   Mais um dado interessante, se por acaso eu rodo o comando
> 
> [EMAIL PROTECTED]:~$ locale -a
> 
> aparece o seguinte:
> 
> 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_COLLATE to default locale: No such file or directory
> C
> POSIX
> en_US.utf8
> 
>   Parece que o pt_BR não foi instalado. Como é que eu faço para instalar.

Caio, não sei como fazer. Eu *tentaria* marcar/desmarcar/remarcar os
locales desejados na lista que aparece na execução do dpkg-reconfigure
locales.

-- 
Adriano Rafael Gomes
SoftwareLivreVS
http://www.softwarelivrevs.org/

-- 
ubuntu-br mailing list
ubuntu-br@lists.ubuntu.com
www.ubuntu-br.org
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br


Re: [Ubuntu-BR] localeconf

2006-09-15 Por tôpico caio ferreira
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

caio ferreira wrote:
> Adriano Rafael Gomes wrote:
>>> caio ferreira escreveu:
Toda vez que eu instalo um pacote no ubuntu aparecem as mensagens 
 abaixo.
 Para resolver o problema instalei o pacote localeconf e fiz as 
 configurações. Mesmo
 assim as mensagens abaixo continuam aparecendo. Alguém saberia um jeito
 para resolver esse problema ?

 Setting up php5-mysql (5.1.2-1ubuntu3.2) ...
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LC_MESSAGES = "en_US",
 LANG = "en_US"
 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
>>> Caio, já tentaste o comando abaixo?
>>> sudo dpkg-reconfigure locales
> 
>   Quando executo o comando aparece o seguinte:
> 
> [EMAIL PROTECTED]:~$ sudo dpkg-reconfigure locales
> Password:
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LC_MONETARY = "pt_BR",
> LC_NUMERIC = "pt_BR",
> LC_MESSAGES = "pt_BR",
> LC_COLLATE = "pt_BR",
> LC_CTYPE = "pt_BR",
> LC_TIME = "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
> Generating locales...
>   en_US.UTF-8... up-to-date
> Generation complete.
> Current default timezone: 'America/Sao_Paulo'.
> Local time is now:  Fri Sep 15 22:12:52 BRT 2006.
> Universal Time is now:  Sat Sep 16 01:12:52 UTC 2006.
> Run 'tzconfig' if you wish to change it.
> 
> [EMAIL PROTECTED]:~$ cat /etc/locale.gen
> ### BEGIN DEBCONF SECTION FOR localeconf
> # Do not edit within this region if you want your changes to be preserved
> # by debconf.  Instead, make changes before the "### BEGIN DEBCONF SECTION
> # FOR localeconf" line, and/or after the "### END DEBCONF SECTION FOR
> # localeconf" line.
> pt_BR ISO-8859-1
> ### END DEBCONF SECTION FOR localeconf
> 
> [EMAIL PROTECTED]:~$ cat /etc/environment
> ### BEGIN DEBCONF SECTION FOR localeconf
> # Do not edit within this region if you want your changes to be preserved
> # by debconf.  Instead, make changes before the "### BEGIN DEBCONF SECTION
> # FOR localeconf" line, and/or after the "### END DEBCONF SECTION FOR
> # localeconf" line.
> LANG=pt_BR
> LC_COLLATE=pt_BR
> LC_CTYPE=pt_BR
> LC_MESSAGES=pt_BR
> LC_MONETARY=pt_BR
> LC_NUMERIC=pt_BR
> LC_TIME=pt_BR
> ### END DEBCONF SECTION FOR localeconf
> 
> --
> 
> 
>  .''`.   Caio Abreu Ferreira
> : :'  :  GNU/Linux Debian
> `. `'`   fingerprint 0B5 0357 B80C E53C 5EF6  9D58 2D1B 0602 45E5 183A
>   `- Key ID 0x45E5183A
>Linux Couter 327834
> 

Mais um dado interessante, se por acaso eu rodo o comando

[EMAIL PROTECTED]:~$ locale -a

aparece o seguinte:

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_COLLATE to default locale: No such file or directory
C
POSIX
en_US.utf8

Parece que o pt_BR não foi instalado. Como é que eu faço para instalar.

- --


 .''`.   Caio Abreu Ferreira
: :'  :  GNU/Linux Debian
`. `'`   fingerprint 0B5 0357 B80C E53C 5EF6  9D58 2D1B 0602 45E5 183A
  `- Key ID 0x45E5183A
 Linux Couter 327834

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFC1FrLRsGAkXlGDoRCHsBAKCYBx2gP3OlpzGv4AZaZmakKVXGPgCeJexf
zUEU39A+pgXat/cTtFKRFvk=
=rJDM
-END PGP SIGNATURE-

-- 
ubuntu-br mailing list
ubuntu-br@lists.ubuntu.com
www.ubuntu-br.org
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br


Re: [Ubuntu-BR] localeconf

2006-09-15 Por tôpico caio ferreira
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Adriano Rafael Gomes wrote:
> caio ferreira escreveu:
>>  Toda vez que eu instalo um pacote no ubuntu aparecem as mensagens 
>> abaixo.
>> Para resolver o problema instalei o pacote localeconf e fiz as 
>> configurações. Mesmo
>> assim as mensagens abaixo continuam aparecendo. Alguém saberia um jeito
>> para resolver esse problema ?
>>
>> Setting up php5-mysql (5.1.2-1ubuntu3.2) ...
>> perl: warning: Setting locale failed.
>> perl: warning: Please check that your locale settings:
>> LANGUAGE = (unset),
>> LC_ALL = (unset),
>> LC_MESSAGES = "en_US",
>> LANG = "en_US"
>> 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
> 
> Caio, já tentaste o comando abaixo?
> sudo dpkg-reconfigure locales

Quando executo o comando aparece o seguinte:

[EMAIL PROTECTED]:~$ sudo dpkg-reconfigure locales
Password:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_MONETARY = "pt_BR",
LC_NUMERIC = "pt_BR",
LC_MESSAGES = "pt_BR",
LC_COLLATE = "pt_BR",
LC_CTYPE = "pt_BR",
LC_TIME = "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
Generating locales...
  en_US.UTF-8... up-to-date
Generation complete.
Current default timezone: 'America/Sao_Paulo'.
Local time is now:  Fri Sep 15 22:12:52 BRT 2006.
Universal Time is now:  Sat Sep 16 01:12:52 UTC 2006.
Run 'tzconfig' if you wish to change it.

[EMAIL PROTECTED]:~$ cat /etc/locale.gen
### BEGIN DEBCONF SECTION FOR localeconf
# Do not edit within this region if you want your changes to be preserved
# by debconf.  Instead, make changes before the "### BEGIN DEBCONF SECTION
# FOR localeconf" line, and/or after the "### END DEBCONF SECTION FOR
# localeconf" line.
pt_BR ISO-8859-1
### END DEBCONF SECTION FOR localeconf

[EMAIL PROTECTED]:~$ cat /etc/environment
### BEGIN DEBCONF SECTION FOR localeconf
# Do not edit within this region if you want your changes to be preserved
# by debconf.  Instead, make changes before the "### BEGIN DEBCONF SECTION
# FOR localeconf" line, and/or after the "### END DEBCONF SECTION FOR
# localeconf" line.
LANG=pt_BR
LC_COLLATE=pt_BR
LC_CTYPE=pt_BR
LC_MESSAGES=pt_BR
LC_MONETARY=pt_BR
LC_NUMERIC=pt_BR
LC_TIME=pt_BR
### END DEBCONF SECTION FOR localeconf

- --


 .''`.   Caio Abreu Ferreira
: :'  :  GNU/Linux Debian
`. `'`   fingerprint 0B5 0357 B80C E53C 5EF6  9D58 2D1B 0602 45E5 183A
  `- Key ID 0x45E5183A
 Linux Couter 327834

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFC1ARLRsGAkXlGDoRCB4IAJ0dMpObQjIeexhp2Nl6+SH293f+lACeP30R
zIHYJusLyijxHFQTWowtD7A=
=GZ2W
-END PGP SIGNATURE-

-- 
ubuntu-br mailing list
ubuntu-br@lists.ubuntu.com
www.ubuntu-br.org
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br


Re: [Ubuntu-BR] localeconf

2006-09-13 Por tôpico Adriano Rafael Gomes
caio ferreira escreveu:
>   Toda vez que eu instalo um pacote no ubuntu aparecem as mensagens 
> abaixo.
> Para resolver o problema instalei o pacote localeconf e fiz as configurações. 
> Mesmo
> assim as mensagens abaixo continuam aparecendo. Alguém saberia um jeito
> para resolver esse problema ?
> 
> Setting up php5-mysql (5.1.2-1ubuntu3.2) ...
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LC_MESSAGES = "en_US",
> LANG = "en_US"
> 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

Caio, já tentaste o comando abaixo?
sudo dpkg-reconfigure locales

-- 
Adriano Rafael Gomes
SoftwareLivreVS
http://www.softwarelivrevs.org/

-- 
ubuntu-br mailing list
ubuntu-br@lists.ubuntu.com
www.ubuntu-br.org
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br