It looks like you set pt_BR.UTF-8 in /etc/default/locale before that locale had been generated. Does it make a difference if you set a locale which exists (such as en_US.UTF-8), reboot, and then run locale-gen?
It looks like you set pt_BR.UTF-8 in /etc/default/locale before that locale had been generated. Does it make a difference if you set a locale which exists (such as en_US.UTF-8), reboot, and then run locale-gen?