I noticed a similar issue when logging into a zone via ssh. It works for
me via zlogin.
Are you inside a zone connecting via SSH?
What is the output of pkg list *locale* ?
Does en_US.UTF-8 exist in /usr/share/locale/ ?
How have you installed the system and when? With which medium?
On 26.11.2017 19:38, Flemming Dalsgaard wrote:
> I am stuck on a issue with locale not working.
> It was discovered when pkg started issuing the following messages on
> # pkg search -rp rcs
> pkg: Unable to set locale; locale package may be broken or
> not installed. Reverting to C locale.
> PACKAGE PUBLISHER
> Also perl does not like it..
> perl -v
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LC_ALL = (unset),
> LC_MONETARY = "en_US.UTF-8",
> LC_COLLATE = "en_US.UTF-8",
> LC_CTYPE = "UTF-8",
> LC_NUMERIC = "en_US.UTF-8",
> LC_MESSAGES = "C",
> LC_TIME = "en_US.UTF-8",
> LANG = "en_US.UTF-8"
> are supported and installed on your system.
> perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
> This is perl 5, version 22, subversion 4 (v5.22.4) built for
> locale -a shows i have en_US.UTF-8 installed
> i have the following locale packages installed (and reinstalled)
> My /etc/default/init include:
> But still locale returns:
> # locale
> Any ideas on I reinitialize locale to fix this ?
> openindiana-discuss mailing list
openindiana-discuss mailing list