GNU bug report logs - #39936
How To Resolve "LC_ALL: cannot change locale (en_US.utf8)"

Previous Next

Package: guix;

Reported by: David Philipe Gil <davidpgil <at> protonmail.com>

Date: Thu, 5 Mar 2020 21:21:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Leo Famulari <leo <at> famulari.name>
To: David Philipe Gil <davidpgil <at> protonmail.com>
Cc: "39936 <at> debbugs.gnu.org" <39936 <at> debbugs.gnu.org>
Subject: bug#39936: How To Resolve "LC_ALL: cannot change locale (en_US.utf8)"
Date: Wed, 11 Mar 2020 18:48:55 -0400
On Wed, Mar 11, 2020 at 07:55:21PM +0000, David Philipe Gil wrote:
> i have been putting my environment variables in .profile and am not familiar with using systemd. would you provide more specific info for what exactly to do in steps as far as adding this guix locale support properly into my systemd setup?

Make sure the file /etc/systemd/system/guix-daemon.service includes a
line like this in the Service section:

Environment=GUIX_LOCPATH=/var/guix/profiles/per-user/root/guix-profile/lib/locale

If you make any changes to that file, you need to make them take effect
by running `systemctl daemon-reload && systemctl restart guix-daemon` as
root.

You should also run `env` from the shell where you use Guix and make
sure it includes GUIX_LOCPATH.

For both the systemd service file and your shell, you need to make sure
the value of GUIX_LOCPATH is a directory that contains locales, and that
they are the same version — there will be a directory with a version
number like '2.29' in, for example, '/home/leo/.guix-profile/lib/locale'.

This should all be handled by the installer script so it would be great
to figure out what's wrong.




This bug report was last modified 5 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.