unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: raingloom <raingloom@riseup.net>
To: help-guix@gnu.org
Subject: Re: GUIX_LOCPATH message over and over again
Date: Sat, 23 May 2020 16:06:02 +0200	[thread overview]
Message-ID: <20200523160602.4961dd52@riseup.net> (raw)
In-Reply-To: <20200519154651.GC24701@jasmine.lan>

On Tue, 19 May 2020 11:46:51 -0400
Leo Famulari <leo@famulari.name> wrote:

> On Tue, May 19, 2020 at 03:17:32PM +0000, Ekaitz Zarraga wrote:
> > I made a guix pull the other day and since then I'm getting the
> > classic:
> > 
> > ....
> > 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 mo...
> > ....
> > 
> > 
> > But what it says doesn't solve anything. The error persists.
> > What am I missing?
> > IIRC it went away in previous time just doing what the error
> > message says.  
> 
> The locales are not compatible between versions of glibc, and you
> probably pulled a big update that updated glibc. So now, you are using
> the new version, and the guix-daemon is still using the old version.
> 
> The locales need to be updated for people who are using Guix (that's
> you) and for the guix-daemon, which runs as a different user
> (typically as root).
> 
> Check the manual section on locales for Guix System, specifically the
> part about compatibility:
> 
> https://guix.gnu.org/manual/en/html_node/Locales.html
> 

This should probably be clarified better in the docs, because I
installed Guix on top of Ubuntu recently and even though I've set it up
correctly once on Arch, it was rather confusing to me why I was getting
that message.
I think the frequency with which people ask about it is enough proof
that the docs don't cover properly all the issues that beginners face.


  reply	other threads:[~2020-05-23 14:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19 15:17 GUIX_LOCPATH message over and over again Ekaitz Zarraga
2020-05-19 15:46 ` Leo Famulari
2020-05-23 14:06   ` raingloom [this message]
2020-05-23 18:32     ` Leo Famulari
  -- strict thread matches above, loose matches on Subject: below --
2020-05-20  6:03 Jérémy Korwin-Zmijowski
2020-05-20 11:02 ` 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=20200523160602.4961dd52@riseup.net \
    --to=raingloom@riseup.net \
    --cc=help-guix@gnu.org \
    /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.
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).