unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Problem with Glbc-locales: failed to install locale
@ 2018-03-13 18:09 darlingmouse
  2018-03-14 13:14 ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: darlingmouse @ 2018-03-13 18:09 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1500 bytes --]

I'm trying to install guix 14.0 on Trisquel 7 and everything went 
smoothly until I hit the part where you perform some procedures for 
glibc-locales in the manual.

|||ruki@ruki-ThinkPad-T400:~$ guix||
||guile: warning: failed to install locale||
||warning: failed to install locale: Invalid argument||
||guix: missing command name||
||Try `guix --help' for more information.||
||ruki@ruki-ThinkPad-T400:~$ guix package -i||
||guile: warning: failed to install locale||
||warning: failed to install locale: Invalid argument||
||ruki@ruki-ThinkPad-T400:~$ clear ; guix ; guix package -i glibc-locales||
||guile: warning: failed to install locale||
||warning: failed to install locale: Invalid argument||
||guix: missing command name||
||Try `guix --help' for more information.||
||guile: warning: failed to install locale||
||warning: failed to install locale: Invalid argument||
||The following package will be upgraded:||
||   glibc-locales    2.26.105-g0890d5379c -> 2.26.105-g0890d5379c 
/gnu/store/j73ld7v624ix39imy94bncxzl8nirdn8-glibc-locales-2.26.105-g0890d5379c||
||
||nothing to be done||
||ruki@ruki-ThinkPad-T400:~$ export 
GUIX_LOCPATH=$HOME/.guix-profile/lib/locale||
||ruki@ruki-ThinkPad-T400:~$ guix||
||guile: warning: failed to install locale||
||warning: failed to install locale: Invalid argument||
||guix: missing command name||
||Try `guix --help' for more information.||
||ruki@ruki-ThinkPad-T400:~$|

I'm not sure what the problem could be right now. Any help is appreciated.

[-- Attachment #2: Type: text/html, Size: 2546 bytes --]

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

* Re: Problem with Glbc-locales: failed to install locale
  2018-03-13 18:09 Problem with Glbc-locales: failed to install locale darlingmouse
@ 2018-03-14 13:14 ` Ludovic Courtès
       [not found]   ` <5AA93DCA.1040500@posteo.us>
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2018-03-14 13:14 UTC (permalink / raw)
  To: darlingmouse; +Cc: help-guix

Hello,

darlingmouse <darlingmouse@posteo.us> skribis:

> The following package will be upgraded:
> glibc-locales 2.26.105-g0890d5379c -> 2.26.105-g0890d5379c /gnu/store/j73ld7v624ix39imy94bncxzl8nirdn8-glibc-locales-2.26.105-g0890d5379c
>
> nothing to be done
> ruki@ruki-ThinkPad-T400:~$ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
> ruki@ruki-ThinkPad-T400:~$ guix
> guile: warning: failed to install locale
> warning: failed to install locale: Invalid argument
> guix: missing command name
> Try `guix --help' for more information.

Can you run the “locale” command and post the result?  Likewise for 
“env | grep LC”.

Also, how did you install Guix?

Thanks,
Ludo’.

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

* Re: Problem with Glbc-locales: failed to install locale
       [not found]   ` <5AA93DCA.1040500@posteo.us>
@ 2018-03-14 15:41     ` Ludovic Courtès
  2018-03-14 15:45       ` darlingmouse
       [not found]       ` <5AA9432D.4050901@posteo.us>
  0 siblings, 2 replies; 12+ messages in thread
From: Ludovic Courtès @ 2018-03-14 15:41 UTC (permalink / raw)
  To: darlingmouse; +Cc: help-guix

darlingmouse <darlingmouse@posteo.us> skribis:

> ||LANG=en_US.UTF-8||

Try “export LC_ALL=en_US.utf8; export LANG=en_US.utf8”; does it help?

> I installed Guix following the manual from Trisquel by unpacking it in
> root and /var as the guide shows. Nothing else.

OK.

(Please keep help-guix in Cc.)

Thanks,
Ludo’.

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

* Re: Problem with Glbc-locales: failed to install locale
  2018-03-14 15:41     ` Ludovic Courtès
@ 2018-03-14 15:45       ` darlingmouse
       [not found]       ` <5AA9432D.4050901@posteo.us>
  1 sibling, 0 replies; 12+ messages in thread
From: darlingmouse @ 2018-03-14 15:45 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

ruki@ruki-ThinkPad-T400:~$ export LC_ALL=en_US.utf8; export LANG=en_US.utf8
ruki@ruki-ThinkPad-T400:~$ guix package
/gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash: warning: 
setlocale: LC_ALL: cannot change locale (en_US.utf8)
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument
ruki@ruki-ThinkPad-T400:~$

On 03/14/2018 10:41 AM, Ludovic Courtès wrote:
> darlingmouse <darlingmouse@posteo.us> skribis:
>
>> ||LANG=en_US.UTF-8||
> Try “export LC_ALL=en_US.utf8; export LANG=en_US.utf8”; does it help?
>
>> I installed Guix following the manual from Trisquel by unpacking it in
>> root and /var as the guide shows. Nothing else.
> OK.
>
> (Please keep help-guix in Cc.)
>
> Thanks,
> Ludo’.

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

* Re: Problem with Glbc-locales: failed to install locale
       [not found]       ` <5AA9432D.4050901@posteo.us>
@ 2018-03-15  8:29         ` Ludovic Courtès
  2018-03-15 15:57           ` darlingmouse
       [not found]           ` <5AAA955F.6070905@posteo.us>
  0 siblings, 2 replies; 12+ messages in thread
From: Ludovic Courtès @ 2018-03-15  8:29 UTC (permalink / raw)
  To: darlingmouse; +Cc: help-guix

Hello,

darlingmouse <darlingmouse@posteo.us> skribis:

> ruki@ruki-ThinkPad-T400:~$ export LC_ALL=en_US.utf8; export LANG=en_US.utf8
> ruki@ruki-ThinkPad-T400:~$ guix package
> /gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash:
> warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
> guile: warning: failed to install locale
> warning: failed to install locale: Invalid argument

And what’s the output of:

  ls $GUIX_LOCPATH

and:

  ldd /gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash | grep libc

Thanks,
Ludo’.

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

* Re: Problem with Glbc-locales: failed to install locale
  2018-03-15  8:29         ` Ludovic Courtès
@ 2018-03-15 15:57           ` darlingmouse
       [not found]           ` <5AAA955F.6070905@posteo.us>
  1 sibling, 0 replies; 12+ messages in thread
From: darlingmouse @ 2018-03-15 15:57 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]

Doing |ls $GUIX_LOCPATH|prints my working dir.
|
ruki@ruki-ThinkPad-T400:~$ ldd 
/gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash 
| grep libc||
||    libdl.so.2 => 
/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libdl.so.2 
(0x00007f584eb6f000)||
||    libc.so.6 => 
/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libc.so.6 
(0x00007f584e7d0000)||
||/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/ld-linux-x86-64.so.2 
=> /lib64/ld-linux-x86-64.so.2 (0x00007f584ed73000)||
||ruki@ruki-ThinkPad-T400:~$ |

On 03/15/2018 03:29 AM, Ludovic Courtès wrote:
> Hello,
>
> darlingmouse <darlingmouse@posteo.us> skribis:
>
>> ruki@ruki-ThinkPad-T400:~$ export LC_ALL=en_US.utf8; export LANG=en_US.utf8
>> ruki@ruki-ThinkPad-T400:~$ guix package
>> /gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash:
>> warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
>> guile: warning: failed to install locale
>> warning: failed to install locale: Invalid argument
> And what’s the output of:
>
>    ls $GUIX_LOCPATH
>
> and:
>
>    ldd /gnu/store/f8k940vy9gck66m9r4id5m098w3hxgka-bash-minimal-4.4.12/bin/bash | grep libc
>
> Thanks,
> Ludo’.


[-- Attachment #2: Type: text/html, Size: 2015 bytes --]

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

* Re: Problem with Glbc-locales: failed to install locale
       [not found]           ` <5AAA955F.6070905@posteo.us>
@ 2018-03-15 16:27             ` Ludovic Courtès
  2018-03-15 16:36               ` darlingmouse
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2018-03-15 16:27 UTC (permalink / raw)
  To: darlingmouse; +Cc: help-guix

darlingmouse <darlingmouse@posteo.us> skribis:

> Doing ls $GUIX_LOCPATH prints my working dir.

That means it’s undefined.  Please run:

  export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

Thanks,
Ludo’.

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

* Re: Problem with Glbc-locales: failed to install locale
  2018-03-15 16:27             ` Ludovic Courtès
@ 2018-03-15 16:36               ` darlingmouse
  2018-03-15 20:35                 ` Ricardo Wurmus
  0 siblings, 1 reply; 12+ messages in thread
From: darlingmouse @ 2018-03-15 16:36 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: help-guix

ruki@ruki-ThinkPad-T400:~$ export 
GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
ruki@ruki-ThinkPad-T400:~$ guix package
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument


On 03/15/2018 11:27 AM, Ludovic Courtès wrote:
> darlingmouse <darlingmouse@posteo.us> skribis:
>
>> Doing ls $GUIX_LOCPATH prints my working dir.
> That means it’s undefined.  Please run:
>
>    export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
>
> Thanks,
> Ludo’.

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

* Re: Problem with Glbc-locales: failed to install locale
  2018-03-15 16:36               ` darlingmouse
@ 2018-03-15 20:35                 ` Ricardo Wurmus
  2018-03-16  2:07                   ` darlingmouse
  0 siblings, 1 reply; 12+ messages in thread
From: Ricardo Wurmus @ 2018-03-15 20:35 UTC (permalink / raw)
  To: darlingmouse; +Cc: help-guix


darlingmouse <darlingmouse@posteo.us> writes:

> ruki@ruki-ThinkPad-T400:~$ export
> GUIX_LOCPATH=$HOME/.guix-profile/lib/locale

Does this directory exist?  If it doesn’t you may need to install
the “glibc-locales” package first.

> ruki@ruki-ThinkPad-T400:~$ guix package
> guile: warning: failed to install locale
> warning: failed to install locale: Invalid argument

I wonder if this comes from the daemon’s environment.  If so,
GUIX_LOCPATH needs to be set in the environment in which the daemon is
started.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

* Re: Problem with Glbc-locales: failed to install locale
  2018-03-15 20:35                 ` Ricardo Wurmus
@ 2018-03-16  2:07                   ` darlingmouse
  2018-03-21 15:30                     ` oury.dustin
  0 siblings, 1 reply; 12+ messages in thread
From: darlingmouse @ 2018-03-16  2:07 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2178 bytes --]

Here is what I did so far. Same thing.

|ruki@ruki-ThinkPad-T400:~$ guix package -i glibc-locales||
||guile: warning: failed to install locale||
||warning: failed to install locale: Invalid argument||
||The following package will be upgraded:||
||   glibc-locales    2.26.105-g0890d5379c -> 2.26.105-g0890d5379c 
/gnu/store/j73ld7v624ix39imy94bncxzl8nirdn8-glibc-locales-2.26.105-g0890d5379c||
||
||substitute: updating list of substitutes from 
'https://mirror.hydra.gnu.org'... substitute: updating list of 
substitutes from 'https://mirror.hydra.gnu.org'... 100.0%||
||The following derivations will be built:||
||/gnu/store/br2by76f04pmfcl4fr4jm00mc6xhp1fl-profile.drv||
||/gnu/store/6nqbjiijp6pihinif3ikywf652ph2yck-ca-certificate-bundle.drv||
||/gnu/store/6k0qgwhzq6mc1hqnh3vi75am3n3i5650-info-dir.drv||
||/gnu/store/268wyfb4bpk2536hj1pir1l9xp11622r-fonts-dir.drv||
||/gnu/store/8q3ys53cx6xjl8dzphisskckg6c13g78-manual-database.drv||
||Creating manual page database...||
||1 entries processed in 0.5 s||
||4 packages in profile||
||The following environment variable definitions may be needed:||
||   export PATH="/home/ruki/.guix-profile/bin${PATH:+:}$PATH"||
||ruki@ruki-ThinkPad-T400:~$ export 
PATH="/home/ruki/.guix-profile/bin${PATH:+:}$PATH"||
||ruki@ruki-ThinkPad-T400:~$ guix package||
||guile: warning: failed to install locale||
||warning: failed to install locale: Invalid argument||
||ruki@ruki-ThinkPad-T400:~$ |


On 03/15/2018 03:35 PM, Ricardo Wurmus wrote:
> darlingmouse <darlingmouse@posteo.us> writes:
>
>> ruki@ruki-ThinkPad-T400:~$ export
>> GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
> Does this directory exist?  If it doesn’t you may need to install
> the “glibc-locales” package first.
>
>> ruki@ruki-ThinkPad-T400:~$ guix package
>> guile: warning: failed to install locale
>> warning: failed to install locale: Invalid argument
> I wonder if this comes from the daemon’s environment.  If so,
> GUIX_LOCPATH needs to be set in the environment in which the daemon is
> started.
>
> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
>
>


[-- Attachment #2: Type: text/html, Size: 3805 bytes --]

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

* Re: Problem with Glbc-locales: failed to install locale
  2018-03-16  2:07                   ` darlingmouse
@ 2018-03-21 15:30                     ` oury.dustin
  2018-03-25  5:22                       ` Chris Marusich
  0 siblings, 1 reply; 12+ messages in thread
From: oury.dustin @ 2018-03-21 15:30 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 2423 bytes --]

At this point I'm in a fix with getting Guix running normally. I'd like 
to get it running though on Trisquel.

On 03/15/2018 09:07 PM, darlingmouse wrote:
> Here is what I did so far. Same thing.
>
> |ruki@ruki-ThinkPad-T400:~$ guix package -i glibc-locales||
> ||guile: warning: failed to install locale||
> ||warning: failed to install locale: Invalid argument||
> ||The following package will be upgraded:||
> ||   glibc-locales    2.26.105-g0890d5379c -> 2.26.105-g0890d5379c 
> /gnu/store/j73ld7v624ix39imy94bncxzl8nirdn8-glibc-locales-2.26.105-g0890d5379c||
> ||
> ||substitute: updating list of substitutes from 
> 'https://mirror.hydra.gnu.org'... substitute: updating list of 
> substitutes from 'https://mirror.hydra.gnu.org'... 100.0%||
> ||The following derivations will be built:||
> ||/gnu/store/br2by76f04pmfcl4fr4jm00mc6xhp1fl-profile.drv||
> ||/gnu/store/6nqbjiijp6pihinif3ikywf652ph2yck-ca-certificate-bundle.drv||
> ||/gnu/store/6k0qgwhzq6mc1hqnh3vi75am3n3i5650-info-dir.drv||
> ||/gnu/store/268wyfb4bpk2536hj1pir1l9xp11622r-fonts-dir.drv||
> ||/gnu/store/8q3ys53cx6xjl8dzphisskckg6c13g78-manual-database.drv||
> ||Creating manual page database...||
> ||1 entries processed in 0.5 s||
> ||4 packages in profile||
> ||The following environment variable definitions may be needed:||
> ||   export PATH="/home/ruki/.guix-profile/bin${PATH:+:}$PATH"||
> ||ruki@ruki-ThinkPad-T400:~$ export 
> PATH="/home/ruki/.guix-profile/bin${PATH:+:}$PATH"||
> ||ruki@ruki-ThinkPad-T400:~$ guix package||
> ||guile: warning: failed to install locale||
> ||warning: failed to install locale: Invalid argument||
> ||ruki@ruki-ThinkPad-T400:~$ |
>
>
> On 03/15/2018 03:35 PM, Ricardo Wurmus wrote:
>> darlingmouse<darlingmouse@posteo.us>  writes:
>>
>>> ruki@ruki-ThinkPad-T400:~$ export
>>> GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
>> Does this directory exist?  If it doesn’t you may need to install
>> the “glibc-locales” package first.
>>
>>> ruki@ruki-ThinkPad-T400:~$ guix package
>>> guile: warning: failed to install locale
>>> warning: failed to install locale: Invalid argument
>> I wonder if this comes from the daemon’s environment.  If so,
>> GUIX_LOCPATH needs to be set in the environment in which the daemon is
>> started.
>>
>> --
>> Ricardo
>>
>> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
>> https://elephly.net
>>
>>
>


[-- Attachment #2: Type: text/html, Size: 4594 bytes --]

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

* Re: Problem with Glbc-locales: failed to install locale
  2018-03-21 15:30                     ` oury.dustin
@ 2018-03-25  5:22                       ` Chris Marusich
  0 siblings, 0 replies; 12+ messages in thread
From: Chris Marusich @ 2018-03-25  5:22 UTC (permalink / raw)
  To: oury.dustin@posteo.net; +Cc: darlingmouse, help-guix

[-- Attachment #1: Type: text/plain, Size: 463 bytes --]

"oury.dustin@posteo.net" <oury.dustin@posteo.net> writes:

> At this point I'm in a fix with getting Guix running normally. I'd
> like to get it running though on Trisquel.

I don't understand this message.  Are you the same person as
darlingmouse, who had trouble earlier in the thread?  What problem are
you having that we can help with?

I'd like to help you out, but I couldn't understand your message.
Perhaps I missed some context.

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2018-03-25  5:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-13 18:09 Problem with Glbc-locales: failed to install locale darlingmouse
2018-03-14 13:14 ` Ludovic Courtès
     [not found]   ` <5AA93DCA.1040500@posteo.us>
2018-03-14 15:41     ` Ludovic Courtès
2018-03-14 15:45       ` darlingmouse
     [not found]       ` <5AA9432D.4050901@posteo.us>
2018-03-15  8:29         ` Ludovic Courtès
2018-03-15 15:57           ` darlingmouse
     [not found]           ` <5AAA955F.6070905@posteo.us>
2018-03-15 16:27             ` Ludovic Courtès
2018-03-15 16:36               ` darlingmouse
2018-03-15 20:35                 ` Ricardo Wurmus
2018-03-16  2:07                   ` darlingmouse
2018-03-21 15:30                     ` oury.dustin
2018-03-25  5:22                       ` Chris Marusich

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).