From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: warning: failed to install locale Date: Fri, 18 Jan 2019 11:13:42 +0100 Message-ID: References: <8736pswk00.fsf@roquette.mug.biscuolo.net> <877ef3h07n.fsf@elephly.net> <87won3fjll.fsf@elephly.net> <2d571a602d342564a6d0b042437c6a4e@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:46343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkR9z-0005GU-LO for help-guix@gnu.org; Fri, 18 Jan 2019 05:14:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkR9x-0003j5-OF for help-guix@gnu.org; Fri, 18 Jan 2019 05:13:59 -0500 Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]:41949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gkR9v-0003eu-QK for help-guix@gnu.org; Fri, 18 Jan 2019 05:13:55 -0500 Received: by mail-qk1-x732.google.com with SMTP id 189so7713491qkj.8 for ; Fri, 18 Jan 2019 02:13:55 -0800 (PST) In-Reply-To: <2d571a602d342564a6d0b042437c6a4e@riseup.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: quiliro@fsfla.org Cc: help-guix Dear, > echo $GUIX_LOCPATH > gives no output as root (which runs the Guix daemon, presumably). If I understand well, this should be expected. :-) The $GUIX_LOCPATH in the root `env' is not necessary related to the $GUIX_LOCPATH is the daemon `env'. Well, if you run systemd, then the variable is defined in, say: grep GUIX_LOCPATH /etc/systemd/system/guix-daemon.service There you see where the GUIX_LOCPATH used by the daemon points to. By default, the profile should be: /var/guix/profiles/per-user/root/guix-profile/lib/locale Therefore, if you install as root the glibc-utf8-locales, then it should work. As Edouard said. However, note that glibc-utf8-locales only contains the locales: ("de_DE" "el_GR" "en_US" "fr_FR" "tr_TR") If the daemon is configured with another locale, then the simplest is to install glibc-locales. If your bandwidth is limited, be patient ;-) Or build a variant of glibc-ut8-locales with your required locale. If you run Upstart, it should be similar. Hope that help. All the best, simon