all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* failed to install locale
@ 2016-04-09 10:24 Catonano
  2016-04-09 16:17 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Catonano @ 2016-04-09 10:24 UTC (permalink / raw)
  To: help-guix

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

Ok, going on with my attempt to do the binary installation of Guix

In order to read what follows, I suspect that the information that I'm on a
Fedora 23 x64 installation with the Italian locale as current can help.


At the step no 7, this is what happens

[root@machine info] # guix archive --authorize <
~root/.guix-profile/share/guix/hydra.gnu.org.pub
warning: failed to install locale: Invalid argument

And then when installing the hello package

guix package -i hello

This is what happens

[root@xps info] # guix package -i hello
warning: failed to install locale: Invalid argument
The following package will be installed:
   hello	2.10	/gnu/store/zby49aqfbd9w9br4l52mvb3y6f9vfv22-hello-2.10

substitute: warning: failed to install locale: Invalid argument
substitute: updating list of substitutes from
'https://mirror.hydra.gnu.org'... 100.0%
substitute: updating list of substitutes from 'https://hydra.gnu.org'... 100.0%
The following derivations will be built:
   /gnu/store/x3mmxjl4y0j65s0mf0maawqc1lqdya1d-profile.drv
   /gnu/store/i14b4njiv0qv5zwbysjajfah5wzb8gm9-ca-certificate-bundle.drv
   /gnu/store/5j0v7lvy5yamjjbz2hdn7drpdf7l09q8-info-dir.drv
The following files will be downloaded:
   /gnu/store/jpx3ps7sf156mgwj2pa2rzwvmbh7wkz8-module-import
   /gnu/store/drqr33wkc8rgfb6i78fxklnyfimsv10z-guile-2.0.11
   /gnu/store/zby49aqfbd9w9br4l52mvb3y6f9vfv22-hello-2.10
   /gnu/store/5nj8prd102cs4s0im7092zrq0s8b2bz3-glibc-utf8-locales-2.22
   /gnu/store/jayhcsyrgfbjn6m5s0a239j6s0m6sp11-module-import-compiled
   /gnu/store/6s0d366ccapbdpfsdi873cf82h6vn86k-texinfo-6.0
   /gnu/store/qkc2qq86fjfgqb9khaa8j0r9wbj2k3rv-gzip-1.6
   /gnu/store/x64cc332jhpswyms2agsrgw1mz4fc8l4-module-import
   /gnu/store/w9n4zd6jqnm53rwgbfhbfkkwgffv7han-module-import-compiled
   /gnu/store/34j2zmi69mqwrslpyizbi9mcxmn2hzgb-coreutils-8.24
   /gnu/store/abgjh1qaxd5fmg24d4wl3p1q8naskz4p-perl-5.22.1
   /gnu/store/341l112bqw9y9yr9bq71jazwdl9fb7yb-ncurses-6.0
   /gnu/store/4djwd87yrw1yg6z19q6agmj26srixy2h-libffi-3.2.1
   /gnu/store/ap38h17m9fdw27j14wj32gya092w6sa7-readline-6.3
   /gnu/store/dj93jz4wn7gl1z6x6hk25hyhh75akyrf-libltdl-2.4.6
   /gnu/store/l46na1l3ydhfidsfk8waq8526z0phw4p-gmp-6.1.0
   /gnu/store/q43b405gx7km3cfskbdl55vgih3hkz1h-pkg-config-0.29
   /gnu/store/s7sdyr3afgiqclydxgjzxxy0f1m17yvk-libgc-7.4.2
   /gnu/store/xmwqkg0llh0ad36cjv2vrq7r0pjqvlf0-libatomic-ops-7.4.2
   /gnu/store/xvya62n0q50aja22z56rgni0nganxk6a-libunistring-0.9.6
warning: failed to install locale: Invalid argument

And then it goes and downloads all the substitutes

Found valid signature for
/gnu/store/w9n4zd6jqnm53rwgbfhbfkkwgffv7han-module-import-compiled
From https://mirror.hydra.gnu.org/nar/w9n4zd6jqnm53rwgbfhbfkkwgffv7han-module-import-compiled
Downloading w9n4zd...-module-import-compiled (147KiB installed)...
 https://mirror.hydra.gnu.org/nar/w9n4zd6jqnm53rwgbfhbfkkwgffv7han-module-import-compiled
726KiB/s 00:00 | 44KiB transferred
warning: failed to install locale: Invalid argument

Found valid signature for
/gnu/store/k6ncb45sb3qpfnlf8dcflxavw4d30rwa-attr-2.4.47
From https://mirror.hydra.gnu.org/nar/k6ncb45sb3qpfnlf8dcflxavw4d30rwa-attr-2.4.47
Downloading k6ncb4...-attr-2.4.47 (256KiB installed)...
 https://mirror.hydra.gnu.org/nar/k6ncb45sb3qpfnlf8dcflxavw4d30rwa-attr-2.4.47
887KiB/s 00:00 | 92KiB transferred
warning: failed to install locale: Invalid argument


[...]


That is, some locale failed to install

I hope this is not too bad and that I can use this binary installation
anyway. I can live with the US locale.

Thanks for any help

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

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

* Re: failed to install locale
  2016-04-09 10:24 failed to install locale Catonano
@ 2016-04-09 16:17 ` Leo Famulari
  2016-04-09 21:11   ` Catonano
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2016-04-09 16:17 UTC (permalink / raw)
  To: Catonano; +Cc: help-guix

On Sat, Apr 09, 2016 at 12:24:43PM +0200, Catonano wrote:
> Ok, going on with my attempt to do the binary installation of Guix
> 
> In order to read what follows, I suspect that the information that I'm on a
> Fedora 23 x64 installation with the Italian locale as current can help.
> 
> 
> At the step no 7, this is what happens
> 
> [root@machine info] # guix archive --authorize <
> ~root/.guix-profile/share/guix/hydra.gnu.org.pub
> warning: failed to install locale: Invalid argument

That warning should not be a problem.

If you end up having locale issues while using the software that you've
installed with Guix, you'll need to point the environment variable
GUIX_LOCPATH at a locale package installed by Guix [0], as shown in
2.6 Application Setup [1].

So, I set that variable in the file that configures my login shell (not
my interactive shell). For Bash [2], this could be ~/.profile. For Zsh,
this could be ~/.zprofile [3].

And, since you are configuring login shells, it won't take effect until
you open a new login shell, as with `bash -l` or by logging out and back
in.

I hope that helps!

By the way, it's also a good idea to source the file
~/.guix-profile/etc/profile in your login shell. It sets some useful
variables.

[0]
I don't know whether or not you could use the locales provided by your
host distro.

[1]
https://www.gnu.org/software/guix/manual/guix.html#Application-Setup

[2]
http://www.linuxfromscratch.org/blfs/view/svn/postlfs/profile.html

[3]
http://zsh.sourceforge.net/Intro/intro_3.html

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

* Re: failed to install locale
  2016-04-09 16:17 ` Leo Famulari
@ 2016-04-09 21:11   ` Catonano
  0 siblings, 0 replies; 3+ messages in thread
From: Catonano @ 2016-04-09 21:11 UTC (permalink / raw)
  To: Leo Famulari; +Cc: help-guix

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

Leo,

2016-04-09 18:17 GMT+02:00 Leo Famulari <leo@famulari.name>:


>
> I hope that helps!
>

Yes, that helps. Quite a lot

>
> By the way, it's also a good idea to source the file
> ~/.guix-profile/etc/profile in your login shell. It sets some useful
> variables.
>
> Thank you !

I managed to finish the installation, I installed the guix provided Emacs.

Now it's late and I have to go, I will post my observations in the future

Thanks again

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

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

end of thread, other threads:[~2016-04-09 21:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-09 10:24 failed to install locale Catonano
2016-04-09 16:17 ` Leo Famulari
2016-04-09 21:11   ` Catonano

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.