help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with locale


From: Mikael Djurfeldt
Subject: Re: Help with locale
Date: Tue, 17 Mar 2020 21:58:31 +0100

On Tue, Mar 17, 2020 at 9:45 PM Leo Famulari <address@hidden> 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 <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]