unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Using GUIX
@ 2018-12-17 22:48 Zelphir Kaltstahl
  2018-12-18 12:59 ` 宋文武
  2018-12-18 14:29 ` Catonano
  0 siblings, 2 replies; 3+ messages in thread
From: Zelphir Kaltstahl @ 2018-12-17 22:48 UTC (permalink / raw)
  To: Guile User

Hello Guile Users,

I recently managed to install GUIX package manager. Now I always get the
following warning, when I install any package:

guix package -i hello
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following package will be upgraded:
   hello	2.10 → 2.10	/gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10

substitute: guile: warning: failed to install locale
substitute: hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and
substitute: defining `GUIX_LOCPATH', along these lines:
substitute: 
substitute:      guix package -i glibc-utf8-locales
substitute:      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
substitute: 
substitute: See the "Application Setup" section in the manual, for more info.
substitute: 
substitute: 
nothing to be done

I already installed both, glibc-utf8-locales and glibc-locales, but the
warning remains.

The value of GUIX_LOCPATH is:

/home/xiaolong/.guix-profile/lib/locale

And there is: 

/home/xiaolong/.guix-profile/lib/locale/2.28/

and inside that there seem to be many locales installed, from "aa_DJ"
all the way through to "zu_ZA.UTF-8".

How do I fix this warning? Maybe there is a deeper problem at work here
and I did something wrong? I think I used the installer script in the
end, found on:

https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh

Regards,

Zelphir



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

* Re: Using GUIX
  2018-12-17 22:48 Using GUIX Zelphir Kaltstahl
@ 2018-12-18 12:59 ` 宋文武
  2018-12-18 14:29 ` Catonano
  1 sibling, 0 replies; 3+ messages in thread
From: 宋文武 @ 2018-12-18 12:59 UTC (permalink / raw)
  To: Zelphir Kaltstahl; +Cc: Guile User

Zelphir Kaltstahl <zelphirkaltstahl@gmail.com> writes:

> Hello Guile Users,
>
> I recently managed to install GUIX package manager. Now I always get the
> following warning, when I install any package:
>
> guix package -i hello
> guix package: warning: Consider running 'guix pull' followed by
> 'guix package -u' to get up-to-date packages and security updates.
>
> The following package will be upgraded:
>    hello	2.10 → 2.10	/gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10
>
> substitute: guile: warning: failed to install locale
> substitute: hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and
> substitute: defining `GUIX_LOCPATH', along these lines:
> substitute: 
> substitute:      guix package -i glibc-utf8-locales
> substitute:      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> substitute: 
> substitute: See the "Application Setup" section in the manual, for more info.
> substitute: 
> substitute: 
> nothing to be done
>
> I already installed both, glibc-utf8-locales and glibc-locales, but the
> warning remains.
>

Hello, I think you need to install the 'glibc-utf8-locales' as the
'root' user, and then restart the 'guix-daemon' service.  The locale
warning coming from the 'substitute' program spawned by the
'guix-daemon', whose environment variables are controlled by the system
service manager, which set GUIX_LOCPATH to root's profile by default.



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

* Re: Using GUIX
  2018-12-17 22:48 Using GUIX Zelphir Kaltstahl
  2018-12-18 12:59 ` 宋文武
@ 2018-12-18 14:29 ` Catonano
  1 sibling, 0 replies; 3+ messages in thread
From: Catonano @ 2018-12-18 14:29 UTC (permalink / raw)
  To: Zelphir Kaltstahl; +Cc: Guile User

Il giorno mar 18 dic 2018 alle ore 00:12 Zelphir Kaltstahl <
zelphirkaltstahl@gmail.com> ha scritto:

> Hello Guile Users,
>
> I recently managed to install GUIX package manager. Now I always get the
> following warning, when I install any package:
>
> guix package -i hello
> guix package: warning: Consider running 'guix pull' followed by
> 'guix package -u' to get up-to-date packages and security updates.
>
> The following package will be upgraded:
>    hello        2.10 → 2.10
>  /gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10
>
> substitute: guile: warning: failed to install locale
> substitute: hint: Consider installing the `glibc-utf8-locales' or
> `glibc-locales' package and
> substitute: defining `GUIX_LOCPATH', along these lines:
> substitute:
> substitute:      guix package -i glibc-utf8-locales
> substitute:      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> substitute:
> substitute: See the "Application Setup" section in the manual, for more
> info.
> substitute:
> substitute:
> nothing to be done
>
> I already installed both, glibc-utf8-locales and glibc-locales, but the
> warning remains.
>
> The value of GUIX_LOCPATH is:
>
> /home/xiaolong/.guix-profile/lib/locale
>
> And there is:
>
> /home/xiaolong/.guix-profile/lib/locale/2.28/
>
> and inside that there seem to be many locales installed, from "aa_DJ"
> all the way through to "zu_ZA.UTF-8".
>
> How do I fix this warning? Maybe there is a deeper problem at work here
> and I did something wrong? I think I used the installer script in the
> end, found on:
>
> https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
>
> Regards,
>
> Zelphir
>
>
this is a common difficulty when installing Guix on top of a so called
foreign distribution, I was unable to solve it myself

You might want to ask for help on the guix help mailing list
https://lists.gnu.org/mailman/listinfo/help-guix

You might also want to consider the guix development mailing list
https://lists.gnu.org/mailman/listinfo/guix-devel


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

end of thread, other threads:[~2018-12-18 14:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-17 22:48 Using GUIX Zelphir Kaltstahl
2018-12-18 12:59 ` 宋文武
2018-12-18 14:29 ` Catonano

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