* Help with locale
@ 2020-03-17 11:36 Mikael Djurfeldt
2020-03-17 17:44 ` Leo Famulari
0 siblings, 1 reply; 18+ messages in thread
From: Mikael Djurfeldt @ 2020-03-17 11:36 UTC (permalink / raw)
To: help-guix
Hi!
I just installed guix on top of Debian Buster using the installation script
at guix.gnu.org.
At any guix command, it the complains:
guile: warning: failed to install locale
I have installed glibc-locales, however it seems like the reason for the
above is that there is no link from .guix-profile/lib/locale to the
glibc-locales package. If I put a link there manually, the warning above
disappears, but as soon as the profile is updated (at a guix pull pulling
in new packages, e.g.), there is again no locales link and the warning
returns.
Why is it like this? How can I avoid this nuisance?
Best regards,
Mikael Djurfeldt
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 11:36 Help with locale Mikael Djurfeldt
@ 2020-03-17 17:44 ` Leo Famulari
2020-03-17 19:32 ` Mikael Djurfeldt
2020-03-17 19:39 ` Jeremy Korwin-Zmijowski
0 siblings, 2 replies; 18+ messages in thread
From: Leo Famulari @ 2020-03-17 17:44 UTC (permalink / raw)
To: Mikael Djurfeldt; +Cc: help-guix
On Tue, Mar 17, 2020 at 12:36:27PM +0100, Mikael Djurfeldt wrote:
> I have installed glibc-locales, however it seems like the reason for the
> above is that there is no link from .guix-profile/lib/locale to the
> glibc-locales package. If I put a link there manually, the warning above
> disappears, but as soon as the profile is updated (at a guix pull pulling
> in new packages, e.g.), there is again no locales link and the warning
> returns.
If you installed glibc-locales, it should show up at
'~/.guix-profile/lib/locale' for the user that installed it (Guix
package management is per-user).
How did you install glibc-locales and as which user?
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 17:44 ` Leo Famulari
@ 2020-03-17 19:32 ` Mikael Djurfeldt
2020-03-17 19:45 ` Leo Famulari
2020-03-17 19:39 ` Jeremy Korwin-Zmijowski
1 sibling, 1 reply; 18+ messages in thread
From: Mikael Djurfeldt @ 2020-03-17 19:32 UTC (permalink / raw)
To: Leo Famulari; +Cc: help-guix
On Tue, Mar 17, 2020 at 6:44 PM Leo Famulari <leo@famulari.name> wrote:
> On Tue, Mar 17, 2020 at 12:36:27PM +0100, Mikael Djurfeldt wrote:
> > I have installed glibc-locales, however it seems like the reason for the
> > above is that there is no link from .guix-profile/lib/locale to the
> > glibc-locales package. If I put a link there manually, the warning above
> > disappears, but as soon as the profile is updated (at a guix pull pulling
> > in new packages, e.g.), there is again no locales link and the warning
> > returns.
>
> If you installed glibc-locales, it should show up at
> '~/.guix-profile/lib/locale' for the user that installed it (Guix
> package management is per-user).
>
It did not show up.
>
> How did you install glibc-locales and as which user?
>
I installed it as root through:
guix package -i glibc-locales
Best regards,
Mikael
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 19:32 ` Mikael Djurfeldt
@ 2020-03-17 19:45 ` Leo Famulari
2020-03-17 20:19 ` Mikael Djurfeldt
0 siblings, 1 reply; 18+ messages in thread
From: Leo Famulari @ 2020-03-17 19:45 UTC (permalink / raw)
To: Mikael Djurfeldt; +Cc: help-guix
On Tue, Mar 17, 2020 at 08:32:18PM +0100, Mikael Djurfeldt wrote:
> > If you installed glibc-locales, it should show up at
> > '~/.guix-profile/lib/locale' for the user that installed it (Guix
> > package management is per-user).
> >
>
> It did not show up.
>
>
> >
> > How did you install glibc-locales and as which user?
> >
>
> I installed it as root through:
>
> guix package -i glibc-locales
Okay, when you say that it did not show up, is that taking into account
that Guix installs packages per-user? If you installed it for root, it
should show up in root's '~/.guix-profile/lib/locale', but not for any
other user.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 19:45 ` Leo Famulari
@ 2020-03-17 20:19 ` Mikael Djurfeldt
2020-03-17 20:22 ` Leo Famulari
0 siblings, 1 reply; 18+ messages in thread
From: Mikael Djurfeldt @ 2020-03-17 20:19 UTC (permalink / raw)
To: Leo Famulari; +Cc: help-guix
On Tue, Mar 17, 2020 at 8:45 PM Leo Famulari <leo@famulari.name> wrote:
> On Tue, Mar 17, 2020 at 08:32:18PM +0100, Mikael Djurfeldt wrote:
> > > If you installed glibc-locales, it should show up at
> > > '~/.guix-profile/lib/locale' for the user that installed it (Guix
> > > package management is per-user).
> > >
> >
> > It did not show up.
> >
> >
> > >
> > > How did you install glibc-locales and as which user?
> > >
> >
> > I installed it as root through:
> >
> > guix package -i glibc-locales
>
> Okay, when you say that it did not show up, is that taking into account
> that Guix installs packages per-user? If you installed it for root, it
> should show up in root's '~/.guix-profile/lib/locale', but not for any
> other user.
>
I only tried it for root so far and it did not show up in root's
'~/.guix-profile/lib/locale'.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 20:19 ` Mikael Djurfeldt
@ 2020-03-17 20:22 ` Leo Famulari
2020-03-17 20:37 ` Mikael Djurfeldt
0 siblings, 1 reply; 18+ messages in thread
From: Leo Famulari @ 2020-03-17 20:22 UTC (permalink / raw)
To: Mikael Djurfeldt; +Cc: help-guix
On Tue, Mar 17, 2020 at 09:19:02PM +0100, Mikael Djurfeldt wrote:
> I only tried it for root so far and it did not show up in root's
> '~/.guix-profile/lib/locale'.
Okay. As root, can you do `guix package --list-installed` and send the
results here?
Also, as root, can you send the result of `echo $GUIX_LOCPATH`?
And finally, again as root, the result of `ls -l
~root/.guix-profile/lib/locale`?
How are you "becoming root", by the way?
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 20:22 ` Leo Famulari
@ 2020-03-17 20:37 ` Mikael Djurfeldt
2020-03-17 20:44 ` Leo Famulari
0 siblings, 1 reply; 18+ messages in thread
From: Mikael Djurfeldt @ 2020-03-17 20:37 UTC (permalink / raw)
To: Leo Famulari; +Cc: help-guix
On Tue, Mar 17, 2020 at 9:22 PM Leo Famulari <leo@famulari.name> wrote:
> On Tue, Mar 17, 2020 at 09:19:02PM +0100, Mikael Djurfeldt wrote:
> > I only tried it for root so far and it did not show up in root's
> > '~/.guix-profile/lib/locale'.
>
> Okay. As root, can you do `guix package --list-installed` and send the
> results here?
>
It's just:
guile-ssh 0.12.0 out
/gnu/store/qqpigisk01ivzvb9pyi4d4d6v5p6djzw-guile-ssh-0.12.0
glibc-locales 2.29 out
/gnu/store/03nvilh2x4z07dxv7h13gh986vvgpnsf-glibc-locales-2.29
>
> Also, as root, can you send the result of `echo $GUIX_LOCPATH`?
>
/root/.guix-profile/lib/locale
>
> And finally, again as root, the result of `ls -l
> ~root/.guix-profile/lib/locale`?
>
ls: cannot access '/root/.guix-profile/lib/locale': No such file or
directory
(There's not even a "lib".)
>
> How are you "becoming root", by the way?
>
sudo -i
BTW, I tried Jeremy's suggestions and in the course of that discovered that
my ordinary user gets the lib/locales link installed. So, the problem I
report only exists for the root user.
Best regards,
Mikael
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 20:37 ` Mikael Djurfeldt
@ 2020-03-17 20:44 ` Leo Famulari
2020-03-17 20:58 ` Mikael Djurfeldt
0 siblings, 1 reply; 18+ messages in thread
From: Leo Famulari @ 2020-03-17 20:44 UTC (permalink / raw)
To: Mikael Djurfeldt; +Cc: help-guix
On Tue, Mar 17, 2020 at 09:37:27PM +0100, Mikael Djurfeldt wrote:
> On Tue, Mar 17, 2020 at 9:22 PM Leo Famulari <leo@famulari.name> wrote:
> > Okay. As root, can you do `guix package --list-installed` and send the
> > results here?
>
> guile-ssh 0.12.0 out
> /gnu/store/qqpigisk01ivzvb9pyi4d4d6v5p6djzw-guile-ssh-0.12.0
> glibc-locales 2.29 out
> /gnu/store/03nvilh2x4z07dxv7h13gh986vvgpnsf-glibc-locales-2.29
>
> > And finally, again as root, the result of `ls -l
> > ~root/.guix-profile/lib/locale`?
> >
>
> ls: cannot access '/root/.guix-profile/lib/locale': No such file or
> directory
>
> (There's not even a "lib".)
>
> BTW, I tried Jeremy's suggestions and in the course of that discovered that
> my ordinary user gets the lib/locales link installed. So, the problem I
> report only exists for the root user.
Something is not right here.
The .guix-profile directory is a symlink union of all the packages in
the user's profile, so it should definitely contain a 'lib/locale'
directory if the user has installed glibc-locales.
What is the result of `ls -l ~root/.guix-profile`?
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 20:44 ` Leo Famulari
@ 2020-03-17 20:58 ` Mikael Djurfeldt
2020-03-17 21:05 ` Mikael Djurfeldt
2020-03-17 21:14 ` Leo Famulari
0 siblings, 2 replies; 18+ messages in thread
From: Mikael Djurfeldt @ 2020-03-17 20:58 UTC (permalink / raw)
To: Leo Famulari; +Cc: help-guix
On Tue, Mar 17, 2020 at 9:45 PM Leo Famulari <leo@famulari.name> wrote:
> On Tue, Mar 17, 2020 at 09:37:27PM +0100, Mikael Djurfeldt wrote:
> > On Tue, Mar 17, 2020 at 9:22 PM Leo Famulari <leo@famulari.name> wrote:
> > > Okay. As root, can you do `guix package --list-installed` and send the
> > > results here?
> >
> > guile-ssh 0.12.0 out
> > /gnu/store/qqpigisk01ivzvb9pyi4d4d6v5p6djzw-guile-ssh-0.12.0
> > glibc-locales 2.29 out
> > /gnu/store/03nvilh2x4z07dxv7h13gh986vvgpnsf-glibc-locales-2.29
> >
> > > And finally, again as root, the result of `ls -l
> > > ~root/.guix-profile/lib/locale`?
> > >
> >
> > ls: cannot access '/root/.guix-profile/lib/locale': No such file or
> > directory
> >
> > (There's not even a "lib".)
> >
> > BTW, I tried Jeremy's suggestions and in the course of that discovered
> that
> > my ordinary user gets the lib/locales link installed. So, the problem I
> > report only exists for the root user.
>
> Something is not right here.
>
> The .guix-profile directory is a symlink union of all the packages in
> the user's profile, so it should definitely contain a 'lib/locale'
> directory if the user has installed glibc-locales.
>
> What is the result of `ls -l ~root/.guix-profile`?
>
First, sorry, I didn't remember correctly: There is actually a "lib" and
has been all the time. Here's different directory listings both for the
root user and for the ordinary mdj user:
root@hat:~# ls -l ~root/.guix-profile
lrwxrwxrwx 1 root root 45 mar 14 19:48 /root/.guix-profile ->
/var/guix/profiles/per-user/root/current-guix
root@hat:~# ls -lL ~root/.guix-profile
total 20
dr-xr-xr-x 2 root root 4096 jan 1 1970 bin
dr-xr-xr-x 2 root root 4096 jan 1 1970 etc
dr-xr-xr-x 2 root root 4096 jan 1 1970 lib
-r--r--r-- 2 root root 454 jan 1 1970 manifest
dr-xr-xr-x 3 root root 4096 jan 1 1970 share
root@hat:~# ls -l ~root/.guix-profile/lib
total 8
lrwxrwxrwx 2 root root 68 jan 1 1970 guile ->
/gnu/store/7slr0lvrsyvg00h8sv101pc5rx144mcf-guix-683861125/lib/guile
lrwxrwxrwx 2 root root 71 jan 1 1970 guix ->
/gnu/store/pqffdyy62xv8qla6jqa5gb47abnflbiz-guix-package-cache/lib/guix
root@hat:~# ls -l ~mdj/.guix-profile
lrwxrwxrwx 1 mdj mdj 44 mar 17 21:24 /home/mdj/.guix-profile ->
/var/guix/profiles/per-user/mdj/guix-profile
root@hat:~# ls -lL ~mdj/.guix-profile
total 20
dr-xr-xr-x 2 root root 4096 jan 1 1970 etc
dr-xr-xr-x 14 root root 4096 jan 1 1970 include
dr-xr-xr-x 3 root root 4096 jan 1 1970 lib
-r--r--r-- 2 root root 465 jan 1 1970 manifest
dr-xr-xr-x 3 root root 4096 jan 1 1970 share
root@hat:~# ls -l ~mdj/.guix-profile/lib
lrwxrwxrwx 3 root root 66 jan 1 1970 /home/mdj/.guix-profile/lib ->
/gnu/store/03nvilh2x4z07dxv7h13gh986vvgpnsf-glibc-locales-2.29/lib
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 20:58 ` Mikael Djurfeldt
@ 2020-03-17 21:05 ` Mikael Djurfeldt
2020-03-17 21:14 ` Leo Famulari
1 sibling, 0 replies; 18+ messages in thread
From: Mikael Djurfeldt @ 2020-03-17 21:05 UTC (permalink / raw)
To: Leo Famulari; +Cc: help-guix
Den tis 17 mars 2020 21:58Mikael Djurfeldt <mikael@djurfeldt.com> skrev:
> On Tue, Mar 17, 2020 at 9:45 PM Leo Famulari <leo@famulari.name> wrote:
>
>> On Tue, Mar 17, 2020 at 09:37:27PM +0100, Mikael Djurfeldt wrote:
>> > On Tue, Mar 17, 2020 at 9:22 PM Leo Famulari <leo@famulari.name> wrote:
>> > > Okay. As root, can you do `guix package --list-installed` and send the
>> > > results here?
>> >
>> > guile-ssh 0.12.0 out
>> > /gnu/store/qqpigisk01ivzvb9pyi4d4d6v5p6djzw-guile-ssh-0.12.0
>> > glibc-locales 2.29 out
>> > /gnu/store/03nvilh2x4z07dxv7h13gh986vvgpnsf-glibc-locales-2.29
>> >
>> > > And finally, again as root, the result of `ls -l
>> > > ~root/.guix-profile/lib/locale`?
>> > >
>> >
>> > ls: cannot access '/root/.guix-profile/lib/locale': No such file or
>> > directory
>> >
>> > (There's not even a "lib".)
>> >
>> > BTW, I tried Jeremy's suggestions and in the course of that discovered
>> that
>> > my ordinary user gets the lib/locales link installed. So, the problem I
>> > report only exists for the root user.
>>
>> Something is not right here.
>>
>> The .guix-profile directory is a symlink union of all the packages in
>> the user's profile, so it should definitely contain a 'lib/locale'
>> directory if the user has installed glibc-locales.
>>
>> What is the result of `ls -l ~root/.guix-profile`?
>>
>
> First, sorry, I didn't remember correctly: There is actually a "lib" and
> has been all the time. Here's different directory listings both for the
> root user and for the ordinary mdj user:
>
> root@hat:~# ls -l ~root/.guix-profile
> lrwxrwxrwx 1 root root 45 mar 14 19:48 /root/.guix-profile ->
> /var/guix/profiles/per-user/root/current-guix
> root@hat:~# ls -lL ~root/.guix-profile
> total 20
> dr-xr-xr-x 2 root root 4096 jan 1 1970 bin
> dr-xr-xr-x 2 root root 4096 jan 1 1970 etc
> dr-xr-xr-x 2 root root 4096 jan 1 1970 lib
> -r--r--r-- 2 root root 454 jan 1 1970 manifest
> dr-xr-xr-x 3 root root 4096 jan 1 1970 share
> root@hat:~# ls -l ~root/.guix-profile/lib
> total 8
> lrwxrwxrwx 2 root root 68 jan 1 1970 guile ->
> /gnu/store/7slr0lvrsyvg00h8sv101pc5rx144mcf-guix-683861125/lib/guile
> lrwxrwxrwx 2 root root 71 jan 1 1970 guix ->
> /gnu/store/pqffdyy62xv8qla6jqa5gb47abnflbiz-guix-package-cache/lib/guix
> root@hat:~# ls -l ~mdj/.guix-profile
> lrwxrwxrwx 1 mdj mdj 44 mar 17 21:24 /home/mdj/.guix-profile ->
> /var/guix/profiles/per-user/mdj/guix-profile
> root@hat:~# ls -lL ~mdj/.guix-profile
> total 20
> dr-xr-xr-x 2 root root 4096 jan 1 1970 etc
> dr-xr-xr-x 14 root root 4096 jan 1 1970 include
> dr-xr-xr-x 3 root root 4096 jan 1 1970 lib
> -r--r--r-- 2 root root 465 jan 1 1970 manifest
> dr-xr-xr-x 3 root root 4096 jan 1 1970 share
> root@hat:~# ls -l ~mdj/.guix-profile/lib
> lrwxrwxrwx 3 root root 66 jan 1 1970 /home/mdj/.guix-profile/lib ->
> /gnu/store/03nvilh2x4z07dxv7h13gh986vvgpnsf-glibc-locales-2.29/lib
>
Or, rather, the root "lib" directory turned up when I installed guile-ssh.
It did not exist when I only had glic-locales.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 20:58 ` Mikael Djurfeldt
2020-03-17 21:05 ` Mikael Djurfeldt
@ 2020-03-17 21:14 ` Leo Famulari
2020-03-17 22:06 ` Mikael Djurfeldt
1 sibling, 1 reply; 18+ messages in thread
From: Leo Famulari @ 2020-03-17 21:14 UTC (permalink / raw)
To: Mikael Djurfeldt; +Cc: help-guix
On Tue, Mar 17, 2020 at 09:58:31PM +0100, Mikael Djurfeldt wrote:
> root@hat:~# ls -l ~root/.guix-profile
> lrwxrwxrwx 1 root root 45 mar 14 19:48 /root/.guix-profile ->
> /var/guix/profiles/per-user/root/current-guix
> root@hat:~# ls -lL ~root/.guix-profile
> total 20
> dr-xr-xr-x 2 root root 4096 jan 1 1970 bin
> dr-xr-xr-x 2 root root 4096 jan 1 1970 etc
> dr-xr-xr-x 2 root root 4096 jan 1 1970 lib
> -r--r--r-- 2 root root 454 jan 1 1970 manifest
> dr-xr-xr-x 3 root root 4096 jan 1 1970 share
> root@hat:~# ls -l ~root/.guix-profile/lib
> total 8
> lrwxrwxrwx 2 root root 68 jan 1 1970 guile ->
> /gnu/store/7slr0lvrsyvg00h8sv101pc5rx144mcf-guix-683861125/lib/guile
> lrwxrwxrwx 2 root root 71 jan 1 1970 guix ->
> /gnu/store/pqffdyy62xv8qla6jqa5gb47abnflbiz-guix-package-cache/lib/guix
Okay, it looks like you don't have glibc-locales installed for the root
user.
You should install glibc-locales as root, and then restart the
guix-daemon with `systemctl daemon-reload && systemctl restart
guix-daemon`.
If you definitely did have glibc-locales installed for root and it did
not show up in the profile, that's a bug. Please double-check.
> root@hat:~# ls -l ~mdj/.guix-profile
> lrwxrwxrwx 1 mdj mdj 44 mar 17 21:24 /home/mdj/.guix-profile ->
> /var/guix/profiles/per-user/mdj/guix-profile
> root@hat:~# ls -lL ~mdj/.guix-profile
> total 20
> dr-xr-xr-x 2 root root 4096 jan 1 1970 etc
> dr-xr-xr-x 14 root root 4096 jan 1 1970 include
> dr-xr-xr-x 3 root root 4096 jan 1 1970 lib
> -r--r--r-- 2 root root 465 jan 1 1970 manifest
> dr-xr-xr-x 3 root root 4096 jan 1 1970 share
> root@hat:~# ls -l ~mdj/.guix-profile/lib
> lrwxrwxrwx 3 root root 66 jan 1 1970 /home/mdj/.guix-profile/lib ->
> /gnu/store/03nvilh2x4z07dxv7h13gh986vvgpnsf-glibc-locales-2.29/lib
This looks fine.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 21:14 ` Leo Famulari
@ 2020-03-17 22:06 ` Mikael Djurfeldt
2020-03-17 22:22 ` Leo Famulari
0 siblings, 1 reply; 18+ messages in thread
From: Mikael Djurfeldt @ 2020-03-17 22:06 UTC (permalink / raw)
To: Leo Famulari; +Cc: help-guix
On Tue, Mar 17, 2020 at 10:14 PM Leo Famulari <leo@famulari.name> wrote:
> On Tue, Mar 17, 2020 at 09:58:31PM +0100, Mikael Djurfeldt wrote:
> > root@hat:~# ls -l ~root/.guix-profile
> > lrwxrwxrwx 1 root root 45 mar 14 19:48 /root/.guix-profile ->
> > /var/guix/profiles/per-user/root/current-guix
> > root@hat:~# ls -lL ~root/.guix-profile
> > total 20
> > dr-xr-xr-x 2 root root 4096 jan 1 1970 bin
> > dr-xr-xr-x 2 root root 4096 jan 1 1970 etc
> > dr-xr-xr-x 2 root root 4096 jan 1 1970 lib
> > -r--r--r-- 2 root root 454 jan 1 1970 manifest
> > dr-xr-xr-x 3 root root 4096 jan 1 1970 share
> > root@hat:~# ls -l ~root/.guix-profile/lib
> > total 8
> > lrwxrwxrwx 2 root root 68 jan 1 1970 guile ->
> > /gnu/store/7slr0lvrsyvg00h8sv101pc5rx144mcf-guix-683861125/lib/guile
> > lrwxrwxrwx 2 root root 71 jan 1 1970 guix ->
> > /gnu/store/pqffdyy62xv8qla6jqa5gb47abnflbiz-guix-package-cache/lib/guix
>
> Okay, it looks like you don't have glibc-locales installed for the root
> user.
>
> You should install glibc-locales as root, and then restart the
> guix-daemon with `systemctl daemon-reload && systemctl restart
> guix-daemon`.
>
> If you definitely did have glibc-locales installed for root and it did
> not show up in the profile, that's a bug. Please double-check.
>
I did. I've checked.
Of course it *is* a bug that the simple action of installing glibc-locales
after a pure install doesn't result in locales taking effect (or that
lib/locales doesn't exist). I just wanted to have people with more context
than I have a look at it, in case I had missed something.
I'll report it then.
Thanks!
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 22:06 ` Mikael Djurfeldt
@ 2020-03-17 22:22 ` Leo Famulari
0 siblings, 0 replies; 18+ messages in thread
From: Leo Famulari @ 2020-03-17 22:22 UTC (permalink / raw)
To: Mikael Djurfeldt; +Cc: help-guix
On Tue, Mar 17, 2020 at 11:06:51PM +0100, Mikael Djurfeldt wrote:
> Of course it *is* a bug that the simple action of installing glibc-locales
> after a pure install doesn't result in locales taking effect (or that
> lib/locales doesn't exist). I just wanted to have people with more context
> than I have a look at it, in case I had missed something.
Just to clarify, installing the locales package will not make locales
work on its own — the GUIX_LOCPATH variable needs to be set as well, and
in at least two different contexts.
But `guix install glibc-locales` should create the 'lib/locales'
directory, and if it didn't then something is broken about package
installation.
> I'll report it then.
Thanks!
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 17:44 ` Leo Famulari
2020-03-17 19:32 ` Mikael Djurfeldt
@ 2020-03-17 19:39 ` Jeremy Korwin-Zmijowski
2020-03-17 19:44 ` Leo Famulari
1 sibling, 1 reply; 18+ messages in thread
From: Jeremy Korwin-Zmijowski @ 2020-03-17 19:39 UTC (permalink / raw)
To: Leo Famulari, Mikael Djurfeldt; +Cc: help-guix
Considering this conversation :
https://framapiaf.org/web/statuses/103580390068629106
You could try these commands with your user AND with the root user :
$ guix pull && guix upgrade && guix install glibc-locales
$ sudo -i
# guix pull && guix upgrade && guix install glibc-locales
# exit
# reboot
Also, there is also a package for utf-8 locales : glibc-utf8-locales.
Hope it can help !
Jérémy
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 19:39 ` Jeremy Korwin-Zmijowski
@ 2020-03-17 19:44 ` Leo Famulari
2020-03-17 20:06 ` Jeremy Korwin-Zmijowski
2020-03-17 20:15 ` Mikael Djurfeldt
0 siblings, 2 replies; 18+ messages in thread
From: Leo Famulari @ 2020-03-17 19:44 UTC (permalink / raw)
To: Jeremy Korwin-Zmijowski; +Cc: help-guix
On Tue, Mar 17, 2020 at 08:39:18PM +0100, Jeremy Korwin-Zmijowski wrote:
> Also, there is also a package for utf-8 locales : glibc-utf8-locales.
The glibc-locales package contains *all* the locales, including the
UTF-8 locales.
The glibc-utf8-locales package only contains a handful and is for
testing purposes, since the glibc-locales package is rather big.
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 19:44 ` Leo Famulari
@ 2020-03-17 20:06 ` Jeremy Korwin-Zmijowski
2020-03-17 20:20 ` Leo Famulari
2020-03-17 20:15 ` Mikael Djurfeldt
1 sibling, 1 reply; 18+ messages in thread
From: Jeremy Korwin-Zmijowski @ 2020-03-17 20:06 UTC (permalink / raw)
To: Leo Famulari; +Cc: help-guix
Le mardi 17 mars 2020 à 15:44 -0400, Leo Famulari a écrit :
> On Tue, Mar 17, 2020 at 08:39:18PM +0100, Jeremy Korwin-Zmijowski
> wrote:
> > Also, there is also a package for utf-8 locales : glibc-utf8-
> > locales.
>
> The glibc-locales package contains *all* the locales, including the
> UTF-8 locales.
>
> The glibc-utf8-locales package only contains a handful and is for
> testing purposes, since the glibc-locales package is rather big.
Alright then my mind can drop the utf8 subset.
Thank you for the clarification !
Jérémy
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: Help with locale
2020-03-17 19:44 ` Leo Famulari
2020-03-17 20:06 ` Jeremy Korwin-Zmijowski
@ 2020-03-17 20:15 ` Mikael Djurfeldt
1 sibling, 0 replies; 18+ messages in thread
From: Mikael Djurfeldt @ 2020-03-17 20:15 UTC (permalink / raw)
To: Leo Famulari; +Cc: help-guix
On Tue, Mar 17, 2020 at 8:44 PM Leo Famulari <leo@famulari.name> wrote:
> On Tue, Mar 17, 2020 at 08:39:18PM +0100, Jeremy Korwin-Zmijowski wrote:
> > Also, there is also a package for utf-8 locales : glibc-utf8-locales.
>
> The glibc-locales package contains *all* the locales, including the
> UTF-8 locales.
>
> The glibc-utf8-locales package only contains a handful and is for
> testing purposes, since the glibc-locales package is rather big.
>
Thanks for pointing this out. However, I I didn't find the swedish UTF8
locales in glic-utf8-locales. That's why I used glic-locales.
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2020-03-17 22:23 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-17 11:36 Help with locale Mikael Djurfeldt
2020-03-17 17:44 ` Leo Famulari
2020-03-17 19:32 ` Mikael Djurfeldt
2020-03-17 19:45 ` Leo Famulari
2020-03-17 20:19 ` Mikael Djurfeldt
2020-03-17 20:22 ` Leo Famulari
2020-03-17 20:37 ` Mikael Djurfeldt
2020-03-17 20:44 ` Leo Famulari
2020-03-17 20:58 ` Mikael Djurfeldt
2020-03-17 21:05 ` Mikael Djurfeldt
2020-03-17 21:14 ` Leo Famulari
2020-03-17 22:06 ` Mikael Djurfeldt
2020-03-17 22:22 ` Leo Famulari
2020-03-17 19:39 ` Jeremy Korwin-Zmijowski
2020-03-17 19:44 ` Leo Famulari
2020-03-17 20:06 ` Jeremy Korwin-Zmijowski
2020-03-17 20:20 ` Leo Famulari
2020-03-17 20:15 ` Mikael Djurfeldt
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).