GNU bug report logs - #40123
glibc-locales: links missing in root user profile

Previous Next

Package: guix;

Reported by: mikael <at> djurfeldt.com

Date: Wed, 18 Mar 2020 17:52:01 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#40123: closed (glibc-locales: links missing in root user profile)
Date: Wed, 18 Mar 2020 19:31:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 18 Mar 2020 20:29:59 +0100
with message-id <87fte5bgw8.fsf <at> devup.no>
and subject line Re: bug#40123: glibc-locales: links missing in root user profile
has caused the debbugs.gnu.org bug report #40123,
regarding glibc-locales: links missing in root user profile
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
40123: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40123
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Mikael Djurfeldt <mikael <at> djurfeldt.com>
To: bug-guix <at> gnu.org
Cc: Mikael Djurfeldt <mikael <at> djurfeldt.com>
Subject: glibc-locales: links missing in root user profile
Date: Wed, 18 Mar 2020 18:51:14 +0100
[Message part 3 (text/plain, inline)]
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

Actual:

No such link has been installed.

Note:

The link does get installed for other users than root.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Marius Bakke <mbakke <at> fastmail.com>
To: mikael <at> djurfeldt.com
Cc: 40123-done <at> debbugs.gnu.org
Subject: Re: bug#40123: glibc-locales: links missing in root user profile
Date: Wed, 18 Mar 2020 20:29:59 +0100
[Message part 6 (text/plain, inline)]
Mikael Djurfeldt <mikael <at> djurfeldt.com> writes:

> On Wed, Mar 18, 2020 at 7:40 PM Marius Bakke <mbakke <at> fastmail.com> wrote:
>
>> Mikael Djurfeldt <mikael <at> 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 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.)
>>
>> 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. :(

Heh, at least you got a decent learning experience.  ;-)

> Anyway, problem solved! This was not a guix bug.

Awesome, glad you found the problem!  I'm closing the bug report.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.