unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mikael Djurfeldt <mikael@djurfeldt.com>
To: Marius Bakke <mbakke@fastmail.com>
Cc: 40123@debbugs.gnu.org
Subject: bug#40123: glibc-locales: links missing in root user profile
Date: Wed, 18 Mar 2020 19:29:03 +0100	[thread overview]
Message-ID: <CAA2XvwJGrL_KaTjW3Hbr_gX_ZnPWDJdxUf8i-fSLtNq=PSZoUA@mail.gmail.com> (raw)
In-Reply-To: <87pnd9bk76.fsf@devup.no>

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

On Wed, Mar 18, 2020 at 7:18 PM Marius Bakke <mbakke@fastmail.com> wrote:

> Tje Mikael,
>
> Mikael Djurfeldt <mikael@djurfeldt.com> writes:
>
> > To reproduce the bug:
> >
> > * install guix on top of an ordinary linux distribution using the install
> > script at guix.gnu.org
> >
> > * install glibc-locales as root
> >
> > Expected:
> >
> > There should be a link ~root/.guix-profile/lib/locales
>
> That should be ~root/.guix-profile/lib/locale (note the singular).
>

Right (just misspelled in the bug report).


> This directory actually comes pre-populated with a small subset of UTF-8
> locales when using the binary installation method like the script does,
> so it's odd if you don't find anything there.
>

I think so too. (But it's not true that it is a small subset of UTF-8
locales. It's a big package with several types of locale.)

>
> Which distribution are you on,


Debian Buster


> and how do you become root?


sudo -i


>   Is the $HOME
> variable set to root's home directory when you are in a root shell?
>

Yes.

To figure out where the package gets installed, try running this
> command:
>
> find /var/guix/profiles -name sv_SE.utf8 -type d
>

It's obvious that that line will produce an empty result. That is because
the sv_SE.utf8 directory only exists in the store. But I don't see the
point of looking it up in the store. The problem is that the link into the
store from the root user profile is never created. (It *is* created in
other user profiles.)

Best regards,
Mikael

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

  reply	other threads:[~2020-03-18 18:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18 17:51 bug#40123: glibc-locales: links missing in root user profile Mikael Djurfeldt
2020-03-18 18:18 ` Marius Bakke
2020-03-18 18:29   ` Mikael Djurfeldt [this message]
2020-03-18 18:40     ` Marius Bakke
2020-03-18 19:02       ` Mikael Djurfeldt
2020-03-18 19:29         ` Marius Bakke
2020-03-18 20:47         ` david larsson
2020-03-18 21:57           ` Mikael Djurfeldt
2020-03-19  1:15             ` Leo Famulari
2020-03-19 10:43             ` david larsson
2020-03-19  1:26           ` Leo Famulari
2020-03-19 10:36             ` david larsson

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='CAA2XvwJGrL_KaTjW3Hbr_gX_ZnPWDJdxUf8i-fSLtNq=PSZoUA@mail.gmail.com' \
    --to=mikael@djurfeldt.com \
    --cc=40123@debbugs.gnu.org \
    --cc=mbakke@fastmail.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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