unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: david larsson <david.larsson@selfhosted.xyz>
To: mikael@djurfeldt.com
Cc: bug-Guix <bug-guix-bounces+someone=selfhosted.xyz@gnu.org>,
	40123@debbugs.gnu.org
Subject: bug#40123: glibc-locales: links missing in root user profile
Date: Wed, 18 Mar 2020 21:47:39 +0100	[thread overview]
Message-ID: <91170830b228c5f4b7d0ed50cc0eb6fa@selfhosted.xyz> (raw)
In-Reply-To: <CAA2XvwJ35pVpVjYLUPoeAgxhgX2+LzFkseqoewGydvo1vZXvcQ@mail.gmail.com>

On 2020-03-18 20:02, Mikael Djurfeldt wrote:
> On Wed, Mar 18, 2020 at 7:40 PM Marius Bakke <mbakke@fastmail.com>
> wrote:
> 
>> Mikael Djurfeldt <mikael@djurfeldt.com> writes:
>> 
>>> 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 producethere.

But thank you for your hypothesis above! I tried a different line with 
ls -lLR and grep and then discovered that the links *are* indeed 
installed in a different profile.

This led me to find my problem: For some rea 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.)
>> 
>> I suspected that Guix installed it to a different user profile
>> somehow,
>> since you did not get any errors apart from the missing directory
>> (if I
>> read the bug report correctly).
>> 
>> Does 'guix install hello' work?
> 
> Same problem there.
> 
> But thank you for your hypothesis above! I tried a different line with
> ls -lLR and grep and then discovered that the links *are* indeed
> installed in a different profile.
> 
> This led me to find my problem: For some reason, my
> ~root/.guix-profile was pointing to the current-guix profile rather
> than the guix-profile.
> 
> It could have been me who did that. :(
> 
> Anyway, problem solved! This was not a guix bug.

Not so fast! I just did the same yesterday using the install-script but 
on a RedHat server, and my /root/.config/guix/current pointed at 
/var/guix/profiles/per-user/MYOTHERUSER/current-guix instead of 
/var/guix-profiles/per-user/root/current-guix which it should be 
pointing at! I also think this is related to 
https://lists.gnu.org/archive/html/bug-guix/2020-01/msg00241.html

Best regards,
David

> 
> Best regards,
> Mikael

  parent reply	other threads:[~2020-03-18 20:49 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
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 [this message]
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=91170830b228c5f4b7d0ed50cc0eb6fa@selfhosted.xyz \
    --to=david.larsson@selfhosted.xyz \
    --cc=40123@debbugs.gnu.org \
    --cc=bug-guix-bounces+someone=selfhosted.xyz@gnu.org \
    --cc=mikael@djurfeldt.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).