unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Matthew Kraai <kraai@ftbfs.org>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 40899@debbugs.gnu.org
Subject: bug#40899: Locales not set up correctly
Date: Tue, 28 Apr 2020 00:56:32 -0700	[thread overview]
Message-ID: <20200428075632.GA4166@inspiron-3147> (raw)
In-Reply-To: <CAJ3okZ0vAzM2zwZqyN7PhvFZMxCay62yeU+Bz0ig5tL62hg=Tg@mail.gmail.com>

Hi simon,

On Mon, Apr 27, 2020 at 02:53:17PM +0200, zimoun wrote:
> On Mon, 27 Apr 2020 at 14:30, Matthew Kraai <kraai@ftbfs.org> 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

  reply	other threads:[~2020-04-28  8:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 12:29 bug#40899: Locales not set up correctly Matthew Kraai
2020-04-27 12:53 ` zimoun
2020-04-28  7:56   ` Matthew Kraai [this message]
2020-04-28  8:14     ` zimoun
2020-04-28  8:34       ` Matthew Kraai
2020-04-28  9:15         ` zimoun
2020-04-28 10:59           ` Matthew Kraai
2020-04-28 11:04             ` zimoun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200428075632.GA4166@inspiron-3147 \
    --to=kraai@ftbfs.org \
    --cc=40899@debbugs.gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).