Problem with Glbc-locales: failed to install locale
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-locales2.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.
Re: Problem with Glbc-locales: failed to install locale
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 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’.
Re: Problem with Glbc-locales: failed to install locale
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 (0x7f584eb6f000)|| ||libc.so.6 => /gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/libc.so.6 (0x7f584e7d)|| ||/gnu/store/3h31zsqxjjg52da5gp3qmhkh4x8klhah-glibc-2.25/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f584ed73000)|| ||ruki@ruki-ThinkPad-T400:~$ | On 03/15/2018 03:29 AM, Ludovic Courtès wrote: Hello, darlingmouse 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’.
Re: Problem with Glbc-locales: failed to install locale
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 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’.
Re: Problem with Glbc-locales: failed to install locale
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-locales2.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 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