-----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