Web lists-archives.com

Re: Locales don't work in chroot sid





On 12/2/18 2:41 PM, Tommi Höynälänmaa wrote:
> I have just installed sid to a chroot. Locales don't work even though I have installed package locales. Scandinavian letters are not displayed and guile gives the following warning:
> 
> ---cut here---
> 
> guile: warning: failed to install locale
> warning: failed to install locale: Invalid argument
> 
> ---cut here---
> 
> Perl gives the following warning:
> 
> ---cut here---
> 
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>     LANGUAGE = (unset),
>     LC_ALL = (unset),
>     LANG = "fi_FI.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> 
> ---cut here---
> 
> How can I make the locales work in a chroot sid?
> 

Good Day Tommi,

Have you tried reconfiguring the locales to build the
fi_FI.UTF-8 set ?

	# dpkg-reconfigure locales

Check your locale in the first menu with Space, then select
it in the second menu, to use it as default.

Once done, you'll need to reenter your chroot for this
modification to be appropriately taken in account I believe.

Kind Regards,
-- 
Étienne Mollier <etienne.mollier@xxxxxxxxxx>