On Tue, 19 May 2020 11:46:51 -0400 Leo Famulari <l...@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.