[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile: warning: failed to install locale
From: |
Abbé |
Subject: |
Re: guile: warning: failed to install locale |
Date: |
Mon, 23 Sep 2024 20:46:09 +0000 |
On Saturday, September 21st, 2024 at 2:51 PM, Luis Felipe <sirgazil@zoho.com>
wrote:
> Hi Abbé,
>
> On 21/09/24 10:08, Abbé wrote:
>
> > Hi,
> >
> > Since I updated guix few days ago, I started observing following notice
> > whenever I start a new shell (with zsh, or bash -l):
> >
> > ==================================================================
> > guile: warning: failed to install locale
> > guile: warning: failed to install locale
> > hint: Consider installing the `glibc-locales' package and defining`
> > GUIX_LOCPATH', along these lines:
> >
> > guix install glibc-locales
> > export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> >
> > See the "Application Setup" section in the manual, for more info.
> > ==================================================================
> >
> > I'm running GuixSD, and have installed glibc-locales in system profile. I
> > don't have GUIX_LOCPATH, and never had that set before either.
> >
> > Following is the output from guix describe:
> >
> > ==================================================================
> > ❯ guix describe
> > hint: Consider installing the `glibc-locales' package and defining`
> > GUIX_LOCPATH', along these lines:
> >
> > guix install glibc-locales
> > export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> >
> > See the "Application Setup" section in the manual, for more info.
> >
> > Generation 17 Sep 21 2024 10:03:22 (current)
> > guix 9d75215
> > repository URL: https://git.savannah.gnu.org/git/guix.git
> > branch: master
> > commit: 9d75215a59629ab224154ef6b843043289291f81
> > nonguix 99a4773
> > repository URL: https://gitlab.com/nonguix/nonguix
> > branch: master
> > commit: 99a47731552b179ea021a65a8a6f474cece68182
> > ==================================================================
> >
> > Any ideas how to rectify this, and what caused it ?
>
>
> Did you restart the system?
>
> I also upgraded my system (a couple of days before you) and I also saw
> the hint about setting up GUIX_LOCPATH. This has happened before when I
> upgrade, but the message goes away after restarting the system.
>
> Just as you, I have "glibc-locales" listed in my system's packages.
> Also, I don't set GUIX_LOCPATH manually anywhere, but it is set like this:
>
> ❯ echo $GUIX_LOCPATH
> /run/current-system/profile/lib/locale
>
> Hope that helps,
Interesting, this time it worked, but I was seeing it for a week, and I did
'guix pull', 'guix system reconfigure' and reboot, and it never worked, while
moving glibc-locales from system profile to user profile. Although I was
testing this on a server (accessible over SSH only).
Anyways, now all good (with glibc-locales package in system profile), so thank
you!
--
Abbé
signature.asc
Description: OpenPGP digital signature