all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Guile: warning: failed to install locale
@ 2020-01-16 15:40 wisdomlight--- via
  2020-01-16 16:28 ` zimoun
  0 siblings, 1 reply; 9+ messages in thread
From: wisdomlight--- via @ 2020-01-16 15:40 UTC (permalink / raw)
  To: help-guix@gnu.org

I get this message
guile: warning: failed to install locale
DuckDuckGo offers few suggestions but non works.
Any ideas??

Sent from ProtonMail Mobile

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Guile: warning: failed to install locale
  2020-01-16 15:40 Guile: " wisdomlight--- via
@ 2020-01-16 16:28 ` zimoun
  0 siblings, 0 replies; 9+ messages in thread
From: zimoun @ 2020-01-16 16:28 UTC (permalink / raw)
  To: wisdomlight; +Cc: help-guix@gnu.org

Hi,

Have you installed the locale? Something along these lines:

https://guix.gnu.org/manual/en/html_node/Application-Setup.html#Locales-1


All the best,
simon

^ permalink raw reply	[flat|nested] 9+ messages in thread

* guile: warning: failed to install locale
@ 2020-05-19 14:33 znavko
  2020-05-19 15:43 ` Leo Famulari
  0 siblings, 1 reply; 9+ messages in thread
From: znavko @ 2020-05-19 14:33 UTC (permalink / raw)
  To: help-guix

Hi! After update guile says 'error: failed to install locale':
$ guix pull && guix package -u
...
building /gnu/store/gbnfw9mh8ij47sr1pg2m3ljz66acp0kp-guix-command.drv...
building /gnu/store/rfhzb4kg8bifmcqhclbwfxy6rnpb6vnr-guix-daemon.drv...
downloading from https://ci.guix.gnu.org/nar/lzip/id0x3hyk6ksv838y6yd8z0m078xyrdjr-guix-4684580af ...
 guix-4684580af 12KiB 5.6MiB/s 00:00 [##################] 100.0%

building CA certificate bundle...
building fonts directory...
building directory of Info manuals...
building database for manual pages...
building profile with 1 package...
building /gnu/store/x5zdmh9a8fffszkh3vwzd0zczacpvl8z-inferior-script.scm.drv...
building package cache...
building profile with 1 package...
New in this revision:
 6 new packages: emacs-plantuml-mode, granite, hitch, pantheon-calculator,
 perl-lwpx-paranoidagent, superstarfighter
 22 packages upgraded: bind@9.16.3, dovecot@2.3.10.1, emacs-elpher@2.7.4, guile-config@0.4.1,
 guile-studio@0.0.2-1.d24d59a, guile2.2-config@0.4.1, java-ngs@2.10.5, kcachegrind@19.08.3, kdiagram@2.7.0,
 kpmcore@4.1.0, kqtquickcharts@19.08.3, krita@4.2.9, …

hint: Run `guix pull --news' to read all the news.

guile: warning: failed to install locale
What to do?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: guile: warning: failed to install locale
  2020-05-19 14:33 znavko
@ 2020-05-19 15:43 ` Leo Famulari
  0 siblings, 0 replies; 9+ messages in thread
From: Leo Famulari @ 2020-05-19 15:43 UTC (permalink / raw)
  To: znavko; +Cc: help-guix

On Tue, May 19, 2020 at 02:33:58PM +0000, znavko@disroot.org wrote:
> What to do?

The issue is that the guix-daemon didn't get the new locales yet.

You need to also do `guix pull` as root and then restart guix-daemon,
assuming you use root's copy of guix-daemon. Otherwise, adjust the
advice as necessary.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* guile: warning: failed to install locale
@ 2020-05-20  6:01 Jérémy Korwin-Zmijowski
  0 siblings, 0 replies; 9+ messages in thread
From: Jérémy Korwin-Zmijowski @ 2020-05-20  6:01 UTC (permalink / raw)
  To: znavko, help-guix

When I get that on my Ubuntu, I repeat this steps :

$ guix pull
$ guix package --install=glibc-locales
$ guix upgrade
$ sudo su
# guix pull
# guix package --install=glibc-locales
# guix upgrade

Then make sure super user and regular user share the same locales.

Finally, I reboot.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* guile: warning: failed to install locale
@ 2024-09-21 10:08 Abbé
  2024-09-21 12:51 ` Luis Felipe
  0 siblings, 1 reply; 9+ messages in thread
From: Abbé @ 2024-09-21 10:08 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1: Type: text/plain, Size: 1662 bytes --]

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 ?

Thanks!
--
Abbé

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: guile: warning: failed to install locale
  2024-09-21 10:08 guile: warning: failed to install locale Abbé
@ 2024-09-21 12:51 ` Luis Felipe
  2024-09-23 20:46   ` Abbé
  0 siblings, 1 reply; 9+ messages in thread
From: Luis Felipe @ 2024-09-21 12:51 UTC (permalink / raw)
  To: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 2258 bytes --]

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,

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: guile: warning: failed to install locale
  2024-09-21 12:51 ` Luis Felipe
@ 2024-09-23 20:46   ` Abbé
  2024-09-24 12:59     ` Luis Felipe
  0 siblings, 1 reply; 9+ messages in thread
From: Abbé @ 2024-09-23 20:46 UTC (permalink / raw)
  To: Luis Felipe; +Cc: help-guix


[-- Attachment #1.1: Type: text/plain, Size: 2825 bytes --]

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é

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: guile: warning: failed to install locale
  2024-09-23 20:46   ` Abbé
@ 2024-09-24 12:59     ` Luis Felipe
  0 siblings, 0 replies; 9+ messages in thread
From: Luis Felipe @ 2024-09-24 12:59 UTC (permalink / raw)
  To: Abbé; +Cc: help-guix


[-- Attachment #1.1.1: Type: text/plain, Size: 486 bytes --]

On 23/09/24 20:46, Abbé wrote:
> 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!

Ha, I just checked, and yeah, I do have glibc-locales in my profile too.



[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 2881 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-09-24 13:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-21 10:08 guile: warning: failed to install locale Abbé
2024-09-21 12:51 ` Luis Felipe
2024-09-23 20:46   ` Abbé
2024-09-24 12:59     ` Luis Felipe
  -- strict thread matches above, loose matches on Subject: below --
2020-05-20  6:01 Jérémy Korwin-Zmijowski
2020-05-19 14:33 znavko
2020-05-19 15:43 ` Leo Famulari
2020-01-16 15:40 Guile: " wisdomlight--- via
2020-01-16 16:28 ` zimoun

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.