sexta-feira, 16 de junho de 2017

Debian - locales pt_BR

locale -a
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
C.UTF-8
POSIX


********************

locale-gen
Generating locales (this might take a while)...
  pt_BR.ISO-8859-1...cannot open locale definition file `pt_BR': No such file or directory
 done
  pt_BR.UTF-8...cannot open locale definition file `pt_BR': No such file or directory
 done
Generation complete.

********************

apt-get install --reinstall locales
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  gstreamer1.0-libav*
0 upgraded, 0 newly installed, 1 reinstalled, 1 to remove and 53 not upgraded.
Need to get 3290 kB of archives.
After this operation, 15.3 MB disk space will be freed.
Do you want to continue? [Y/n] 
Get:1 http://ftp.br.debian.org/debian testing/main amd64 locales all 2.24-11 [3290 kB]
Fetched 3290 kB in 1s (1921 kB/s)   
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "pt_BR:pt:en",
LC_ALL = (unset),
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
Preconfiguring packages ...
(Reading database ... 372711 files and directories currently installed.)
Removing gstreamer1.0-libav:amd64 (1:1.10.4-dmo1) ...
(Reading database ... 372681 files and directories currently installed.)
Preparing to unpack .../locales_2.24-11_all.deb ...
Unpacking locales (2.24-11) over (2.24-11) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up locales (2.24-11) ...
Generating locales (this might take a while)...
  pt_BR.ISO-8859-1... done
  pt_BR.UTF-8... done
Generation complete.

Nenhum comentário: