From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikael Djurfeldt Subject: bug#40123: glibc-locales: links missing in root user profile Date: Wed, 18 Mar 2020 20:02:58 +0100 Message-ID: References: <87pnd9bk76.fsf@devup.no> <87k13hbj7e.fsf@devup.no> Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000f7a9305a125b401" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51461) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEdz1-0004C4-5z for bug-guix@gnu.org; Wed, 18 Mar 2020 15:04:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEdyz-0000sh-Uj for bug-guix@gnu.org; Wed, 18 Mar 2020 15:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEdyz-0000sF-RT for bug-guix@gnu.org; Wed, 18 Mar 2020 15:04:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEdyz-0003vG-MJ for bug-guix@gnu.org; Wed, 18 Mar 2020 15:04:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k13hbj7e.fsf@devup.no> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Marius Bakke Cc: 40123@debbugs.gnu.org --0000000000000f7a9305a125b401 Content-Type: text/plain; charset="UTF-8" On Wed, Mar 18, 2020 at 7:40 PM Marius Bakke wrote: > Mikael Djurfeldt 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. :( Anyway, problem solved! This was not a guix bug. Best regards, Mikael --0000000000000f7a9305a125b401 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Mar 18, 2020 at 7:40 PM Marius Ba= kke <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 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 hypoth= esis above! I tried a different line with ls -lLR and grep and then discove= red 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.
=

Best regards,
Mikael
--0000000000000f7a9305a125b401--