unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Mikael Djurfeldt <mikael@djurfeldt.com>
To: Leo Famulari <leo@famulari.name>
Cc: help-guix@gnu.org
Subject: Re: Help with locale
Date: Tue, 17 Mar 2020 22:05:52 +0100	[thread overview]
Message-ID: <CAA2Xvw+qK33QBuzhsoOE=px-mK9bSJmm2DgrWxY4OuU4nEK11g@mail.gmail.com> (raw)
In-Reply-To: <CAA2XvwJaQDXVCDih-r5NDBNoCdDTmDYLUF9fm7LZ3E0DFezZQw@mail.gmail.com>

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.

  reply	other threads:[~2020-03-17 21:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA2Xvw+qK33QBuzhsoOE=px-mK9bSJmm2DgrWxY4OuU4nEK11g@mail.gmail.com' \
    --to=mikael@djurfeldt.com \
    --cc=help-guix@gnu.org \
    --cc=leo@famulari.name \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).