From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Kraai Subject: bug#40899: Locales not set up correctly Date: Tue, 28 Apr 2020 00:56:32 -0700 Message-ID: <20200428075632.GA4166@inspiron-3147> References: <20200427122943.GA25049@inspiron-3147> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46294) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTLHk-0001ZS-Pv for bug-guix@gnu.org; Tue, 28 Apr 2020 04:09:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTL70-000507-BU for bug-guix@gnu.org; Tue, 28 Apr 2020 04:00:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55445) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTL6z-0004zo-Uw for bug-guix@gnu.org; Tue, 28 Apr 2020 03:57:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTL6z-00074t-TN for bug-guix@gnu.org; Tue, 28 Apr 2020 03:57: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: zimoun Cc: 40899@debbugs.gnu.org Hi simon, On Mon, Apr 27, 2020 at 02:53:17PM +0200, zimoun wrote: > On Mon, 27 Apr 2020 at 14:30, Matthew Kraai wrote: > > > $ guix package -i nss-certs > > guile: warning: failed to install locale > > There 3 points: > > a) "guix install glibc-utf8-locales" as root because of the daemon > and restart it. (depending on your system init, an extra config should > be required) I modified the script to run the following commands as root: ``` guix package -i glibc-utf8-locales systemctl restart guix-daemon ``` > b) "guix install glibc-utf8-locales" as regular user The script was already doing this. > This should fix the locales issues. > > Note that depending on your locale, glibc-utf8-locles should not > provide it. (The term utf8 could be misleading). But en_US is provided > by it. When I run guix, it still produces the same locale messages: ``` $ guix package -I guile: warning: failed to install locale hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and defining `GUIX_LOCPATH', along these lines: guix package -i glibc-utf8-locales export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. glibc-utf8-locales 2.29 out /gnu/store/n79cf8bvy3k96gjk1rf18d36w40lkwlr-glibc-utf8-locales-2.29 ``` > > guix package: error: some substitutes for the outputs of derivation `/gnu/store/mxp55201zl6wm2d82xdjnc8qa7qwgr85-nss-certs-3.50.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source > > c) Try: > guix install nss-certs --fallback The --fallback option works. Thank you for the suggestion. -- Matthew Kraai