From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#39936: How To Resolve "LC_ALL: cannot change locale (en_US.utf8)" Date: Wed, 11 Mar 2020 18:48:55 -0400 Message-ID: <20200311224855.GA22532@jasmine.lan> References: <20200311190539.GC26593@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35311) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCAAt-0004u9-9B for bug-guix@gnu.org; Wed, 11 Mar 2020 18:50:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCAAs-0006fX-52 for bug-guix@gnu.org; Wed, 11 Mar 2020 18:50:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCAAr-0006f2-UX for bug-guix@gnu.org; Wed, 11 Mar 2020 18:50:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCAAr-0006Ie-Q7 for bug-guix@gnu.org; Wed, 11 Mar 2020 18:50:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: David Philipe Gil Cc: "39936@debbugs.gnu.org" <39936@debbugs.gnu.org> 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 famil= iar with using systemd. would you provide more specific info for what exact= ly to do in steps as far as adding this guix locale support properly into m= y systemd setup? Make sure the file /etc/systemd/system/guix-daemon.service includes a line like this in the Service section: Environment=3DGUIX_LOCPATH=3D/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 =E2=80=94 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.