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 18:51:14 +0100 Message-ID: Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000007f77eb05a124b35e" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50391) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEcrL-0007da-84 for bug-guix@gnu.org; Wed, 18 Mar 2020 13:52:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEcrK-0003U4-3I for bug-guix@gnu.org; Wed, 18 Mar 2020 13:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35339) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEcrJ-0003TM-TS for bug-guix@gnu.org; Wed, 18 Mar 2020 13:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEcrJ-000210-QR for bug-guix@gnu.org; Wed, 18 Mar 2020 13:52:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:49897) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEcqm-0007ME-GK for bug-guix@gnu.org; Wed, 18 Mar 2020 13:51:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEcql-0001fq-6X for bug-guix@gnu.org; Wed, 18 Mar 2020 13:51:28 -0400 Received: from mail-vk1-f174.google.com ([209.85.221.174]:40603) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEcql-0001eJ-2T for bug-guix@gnu.org; Wed, 18 Mar 2020 13:51:27 -0400 Received: by mail-vk1-f174.google.com with SMTP id k63so7331383vka.7 for ; Wed, 18 Mar 2020 10:51:26 -0700 (PDT) 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: 40123@debbugs.gnu.org --0000000000007f77eb05a124b35e Content-Type: text/plain; charset="UTF-8" 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. --0000000000007f77eb05a124b35e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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/.gui= x-profile/lib/locales

Ac= tual:

No such link has b= een installed.

Note:

The link does get installed= for other users than root.

--0000000000007f77eb05a124b35e-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#40123: glibc-locales: links missing in root user profile Date: Wed, 18 Mar 2020 19:18:37 +0100 Message-ID: <87pnd9bk76.fsf@devup.no> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36704) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEdHU-0005F8-9y for bug-guix@gnu.org; Wed, 18 Mar 2020 14:19:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEdHT-0005n5-8K for bug-guix@gnu.org; Wed, 18 Mar 2020 14:19:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEdHT-0005jf-16 for bug-guix@gnu.org; Wed, 18 Mar 2020 14:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEdHS-0002lL-U8 for bug-guix@gnu.org; Wed, 18 Mar 2020 14:19:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: mikael@djurfeldt.com, 40123@debbugs.gnu.org --=-=-= Content-Type: text/plain Tje Mikael, Mikael Djurfeldt 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). 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. Which distribution are you on, and how do you become root? Is the $HOME variable set to root's home directory when you are in a root shell? To figure out where the package gets installed, try running this command: find /var/guix/profiles -name sv_SE.utf8 -type d --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5yZf0ACgkQoqBt8qM6 VPrITAgAu6+eN2mSkHzcaYylyTfogVuXFHEjjrQykqDck/BXm9Er7Ec0dcigA44m Ul+H0+CZlephNYJMgIJ13VydhoXUFlMCVQPs2FvUiKzJs0EYHmU8eLhjEEwN6AkN VxfF0qMoa8hTJmt7rM4KfjeZFAEFfKzjwQ+9jyKX1zkfkjbYMixSTfBuhB3sPWSB +fkI30RUiteAc0Ei7oBnSnMTmUdEtjr0PS/JJgvcHGHNLoJAeS9U8MPVDPf6LziK 8rS49cKcg0b8xA098Fw0xwHHTIDjWiR5csF3sKFg8SJfxTgZTt8xnO5QoODUWOmG lD2sexpyA1ua/4n3vlLbJfgwgR16AQ== =KjLw -----END PGP SIGNATURE----- --=-=-=-- 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 19:29:03 +0100 Message-ID: References: <87pnd9bk76.fsf@devup.no> Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d6bedb05a1253a3a" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42069) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEdS7-0007qn-Px for bug-guix@gnu.org; Wed, 18 Mar 2020 14:30:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEdS6-0000jc-E0 for bug-guix@gnu.org; Wed, 18 Mar 2020 14:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35418) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEdS6-0000ib-9X for bug-guix@gnu.org; Wed, 18 Mar 2020 14:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEdS6-00033K-37 for bug-guix@gnu.org; Wed, 18 Mar 2020 14:30:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87pnd9bk76.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 --000000000000d6bedb05a1253a3a Content-Type: text/plain; charset="UTF-8" On Wed, Mar 18, 2020 at 7:18 PM Marius Bakke wrote: > Tje Mikael, > > Mikael Djurfeldt 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 --000000000000d6bedb05a1253a3a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Mar 18, 2020 at 7:18 PM Marius Ba= kke <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 inst= all
> 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).
=
=C2=A0
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 su= bset of UTF-8 locales. It's a big package with several types of locale.= )

Which distribution are you on,

Debian Buste= r
=C2=A0
and how do you become root?

sudo -i
=
=C2=A0
= =C2=A0 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

<= /div>
It's obvious that that line will produce an empty result. Tha= t is because the sv_SE.utf8 directory only exists in the store. But I don&#= 39;t see the point of looking it up in the store. The problem is that the l= ink into the store from the root user profile is never created. (It *is* cr= eated in other user profiles.)

Best regards,
=
Mikael
--000000000000d6bedb05a1253a3a-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#40123: glibc-locales: links missing in root user profile Date: Wed, 18 Mar 2020 19:40:05 +0100 Message-ID: <87k13hbj7e.fsf@devup.no> References: <87pnd9bk76.fsf@devup.no> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45093) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEdcl-0001cb-Pd for bug-guix@gnu.org; Wed, 18 Mar 2020 14:41:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEdck-0005GJ-Pp for bug-guix@gnu.org; Wed, 18 Mar 2020 14:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35429) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEdck-0005GE-Jj for bug-guix@gnu.org; Wed, 18 Mar 2020 14:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEdck-0003LS-GS for bug-guix@gnu.org; Wed, 18 Mar 2020 14:41:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: Mikael Djurfeldt Cc: 40123@debbugs.gnu.org --=-=-= Content-Type: text/plain 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? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5yawUACgkQoqBt8qM6 VPpsmQgAprww0937Pp4Trz1cRJkcRQ+bz3Dc03jKLnDSkpdFNto6+/TwCPv1Sw37 xujSjCOwuGocftAZLcfmccRrktJ8eG5h18arjZicVgUbI0kq+k+siM1V30eaueYU JV9XCRURWd4GqnscwQaDxENrT2UGOK1pNP1pVcA8PH+NYWaViCbglm62r5+GWMs+ z1ele7CcFTDzdGfVqNBLlzcUjYvPT84sMFo8d06JjCaUFWnw5HxmV47LSV5Vl/j0 NyxEhi+XH30e3BhIze69OWllPUDCn1IIbIM4i6gHks7JaH4lX9smhSW1/y0zEzdf p9eKljLOn35NGc3m3rBBKc+xtcRPpA== =/Fl6 -----END PGP SIGNATURE----- --=-=-=-- 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#40123: glibc-locales: links missing in root user profile Date: Wed, 18 Mar 2020 20:29:59 +0100 Message-ID: <87fte5bgw8.fsf@devup.no> References: <87pnd9bk76.fsf@devup.no> <87k13hbj7e.fsf@devup.no> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60736) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEePA-0000VM-6O for bug-guix@gnu.org; Wed, 18 Mar 2020 15:31:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEeP9-0005My-0I for bug-guix@gnu.org; Wed, 18 Mar 2020 15:31:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35461) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEeP8-0005ME-Qe for bug-guix@gnu.org; Wed, 18 Mar 2020 15:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEeP8-0004ft-NF for bug-guix@gnu.org; Wed, 18 Mar 2020 15:31:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: 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: mikael@djurfeldt.com Cc: 40123-done@debbugs.gnu.org --=-=-= Content-Type: text/plain Mikael Djurfeldt writes: > 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. :( 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5ydrcACgkQoqBt8qM6 VPqKAwgAhwsqWUmQZte6GMm01yGy2zo2ztYWvVYUOeoieSoRkJ2RXC+XkuoO+RWS tKw19b4jPEWYMbTBIvCi6Yq3grolkzysc0AqhjMg8doUFPKAYHMg7Jy4Y1bll67E bEOu+9pvNrfspk8o3nsJTh3msY1BjuOU1aPUhpSJ612nqVxfvAlr6Lr31k68JgvT ykATYgXuTFfV0QdAEORnYmHjnXxfw1qz45Tpz014g0oAa/Li4lHN99efrVBse4sN BgUg5IUebhOfP0z5/pMguT182ABgLkJhYlTW9dZwejww1HwiBDorbYnbD967KZnt XbvjrcHvOY2K0LUc5bwoGBkJD4WWQQ== =8mHy -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: david larsson Subject: bug#40123: glibc-locales: links missing in root user profile Date: Wed, 18 Mar 2020 21:47:39 +0100 Message-ID: <91170830b228c5f4b7d0ed50cc0eb6fa@selfhosted.xyz> References: <87pnd9bk76.fsf@devup.no> <87k13hbj7e.fsf@devup.no> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47016) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEfce-0003n9-2O for bug-guix@gnu.org; Wed, 18 Mar 2020 16:49:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEfcc-0000I6-SW for bug-guix@gnu.org; Wed, 18 Mar 2020 16:49:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEfcc-0000Hd-Oq for bug-guix@gnu.org; Wed, 18 Mar 2020 16:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEfcc-0000Ov-NW for bug-guix@gnu.org; Wed, 18 Mar 2020 16:49:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: mikael@djurfeldt.com Cc: bug-Guix , 40123@debbugs.gnu.org On 2020-03-18 20:02, Mikael Djurfeldt wrote: > 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 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 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 22:57:53 +0100 Message-ID: References: <87pnd9bk76.fsf@devup.no> <87k13hbj7e.fsf@devup.no> <91170830b228c5f4b7d0ed50cc0eb6fa@selfhosted.xyz> Reply-To: mikael@djurfeldt.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000097a46c05a1282586" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52437) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEgiN-0004BE-Pv for bug-guix@gnu.org; Wed, 18 Mar 2020 17:59:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEgiM-00038O-CK for bug-guix@gnu.org; Wed, 18 Mar 2020 17:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEgiM-000378-8h for bug-guix@gnu.org; Wed, 18 Mar 2020 17:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEgiM-0002G6-5i for bug-guix@gnu.org; Wed, 18 Mar 2020 17:59:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <91170830b228c5f4b7d0ed50cc0eb6fa@selfhosted.xyz> 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: david larsson Cc: bug-Guix , 40123@debbugs.gnu.org --00000000000097a46c05a1282586 Content-Type: text/plain; charset="UTF-8" Den ons 18 mars 2020 21:48david larsson skrev: > > > 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 I actually also think that there *is* a bug. But in my case it was either a lack in the documentation of how to setup .guix-profile or lack of getting this done automatically. This forced me into guesswork. David, for your problem, I'm wondering if it couldn't be related to what everyone has asked me: how you become root. Best regards, Mikael --00000000000097a46c05a1282586 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Den ons 18 mars 2020 21:48david larsson <david.la= rsson@selfhosted.xyz> skrev:

> 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
=

I actually also think t= hat there *is* a bug. But in my case it was either a lack in the documentat= ion of how to setup .guix-profile or lack of getting this done automaticall= y. This forced me into guesswork.

David, for your problem, I'm wondering if it couldn't be = related to what everyone has asked me: how you become root.

Best regards,
= Mikael

--00000000000097a46c05a1282586-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#40123: glibc-locales: links missing in root user profile Date: Wed, 18 Mar 2020 21:15:33 -0400 Message-ID: <20200319011533.GA4884@jasmine.lan> References: <87pnd9bk76.fsf@devup.no> <87k13hbj7e.fsf@devup.no> <91170830b228c5f4b7d0ed50cc0eb6fa@selfhosted.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49962) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEjn1-0004nn-45 for bug-guix@gnu.org; Wed, 18 Mar 2020 21:16:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEjn0-0005bQ-4M for bug-guix@gnu.org; Wed, 18 Mar 2020 21:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35631) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEjn0-0005b0-0K for bug-guix@gnu.org; Wed, 18 Mar 2020 21:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEjmz-0007ba-QF for bug-guix@gnu.org; Wed, 18 Mar 2020 21:16:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: 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: Mikael Djurfeldt Cc: david larsson , bug-Guix , 40123@debbugs.gnu.org On Wed, Mar 18, 2020 at 10:57:53PM +0100, Mikael Djurfeldt wrote: > David, for your problem, I'm wondering if it couldn't be related to what > everyone has asked me: how you become root. Usually when you need to "be root" it just means that you want superuser privileges, so people do `sudo su` or `sudo apt-get install foo`. It works to execute the command, and most of the time it doesn't matter which user actually runs the command. But Guix is specifically designed as a per-user package manager. Each user has their own view of "what is installed". It does matter who runs commands like `guix pull` and `guix package`, because those commands only affect the user who runs them. This is why we are careful when giving examples using sudo, saying either `sudo -E [--preserve-env]` or `sudo -i [--login]`, so that one explicitly chooses which user to be. The issue you had could be related... From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#40123: glibc-locales: links missing in root user profile Date: Wed, 18 Mar 2020 21:26:14 -0400 Message-ID: <20200319012614.GB4884@jasmine.lan> References: <87pnd9bk76.fsf@devup.no> <87k13hbj7e.fsf@devup.no> <91170830b228c5f4b7d0ed50cc0eb6fa@selfhosted.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54340) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEjxj-0006Hx-7E for bug-guix@gnu.org; Wed, 18 Mar 2020 21:27:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEjxe-0002oo-A3 for bug-guix@gnu.org; Wed, 18 Mar 2020 21:27:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35636) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEjxe-0002m0-3Y for bug-guix@gnu.org; Wed, 18 Mar 2020 21:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEjxd-0007tg-Ua for bug-guix@gnu.org; Wed, 18 Mar 2020 21:27:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <91170830b228c5f4b7d0ed50cc0eb6fa@selfhosted.xyz> 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: david larsson Cc: bug-Guix , 40123@debbugs.gnu.org On Wed, Mar 18, 2020 at 09:47:39PM +0100, david larsson wrote: > 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 That's not good. To clarify, did you only run the installer script here? And made no manual changes related to Guix? I assume it was the GNU Guix 1.0.1 binary for x86_64 from here? https://guix.gnu.org/download/ From mboxrd@z Thu Jan 1 00:00:00 1970 From: david larsson Subject: bug#40123: glibc-locales: links missing in root user profile Date: Thu, 19 Mar 2020 11:36:27 +0100 Message-ID: References: <87pnd9bk76.fsf@devup.no> <87k13hbj7e.fsf@devup.no> <91170830b228c5f4b7d0ed50cc0eb6fa@selfhosted.xyz> <20200319012614.GB4884@jasmine.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57757) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEsXv-0001r2-GL for bug-guix@gnu.org; Thu, 19 Mar 2020 06:37:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEsXu-0001Fk-Cc for bug-guix@gnu.org; Thu, 19 Mar 2020 06:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35816) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEsXu-0001Fe-8f for bug-guix@gnu.org; Thu, 19 Mar 2020 06:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEsXu-00082s-0u for bug-guix@gnu.org; Thu, 19 Mar 2020 06:37:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20200319012614.GB4884@jasmine.lan> 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: Leo Famulari Cc: bug-Guix , 40123@debbugs.gnu.org On 2020-03-19 02:26, Leo Famulari wrote: > On Wed, Mar 18, 2020 at 09:47:39PM +0100, david larsson wrote: >> 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 > > That's not good. > > To clarify, did you only run the installer script here? And made no > manual changes related to Guix? I probably also did something I shouldn't have with sudo or guix pull -p after running the guix-install.sh script, but I don't know for sure. If I had the time I would have rerun the script etc, to verify the output of ls -la ~/.config/guix/current directly after guix-install.sh and after guix pull etc, and check similar things as was checked here: https://issues.guix.gnu.org/issue/36785 > > I assume it was the GNU Guix 1.0.1 binary for x86_64 from here? > > https://guix.gnu.org/download/ My root user's guix pull -l shows Guix 1.0.1 as first generation, and the install script uses https://ftp.gnu.org/gnu/guix, but yes it is probably the same. From mboxrd@z Thu Jan 1 00:00:00 1970 From: david larsson Subject: bug#40123: glibc-locales: links missing in root user profile Date: Thu, 19 Mar 2020 11:43:40 +0100 Message-ID: References: <87pnd9bk76.fsf@devup.no> <87k13hbj7e.fsf@devup.no> <91170830b228c5f4b7d0ed50cc0eb6fa@selfhosted.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59035) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEseh-0003Ui-51 for bug-guix@gnu.org; Thu, 19 Mar 2020 06:44:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEseg-0007aF-0p for bug-guix@gnu.org; Thu, 19 Mar 2020 06:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEsef-0007a9-T4 for bug-guix@gnu.org; Thu, 19 Mar 2020 06:44:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEsef-0008FT-Rk for bug-guix@gnu.org; Thu, 19 Mar 2020 06:44:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: mikael@djurfeldt.com Cc: bug-Guix , 40123@debbugs.gnu.org On 2020-03-18 22:57, Mikael Djurfeldt wrote: > Den ons 18 mars 2020 21:48david larsson > skrev: > >>> 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 > > I actually also think that there *is* a bug. But in my case it was > either a lack in the documentation of how to setup .guix-profile or > lack of getting this done automatically. This forced me into > guesswork. > > David, for your problem, I'm wondering if it couldn't be related to > what everyone has asked me: how you become root. That is very possible. There is a very informative deep-dive discussion about that here: https://issues.guix.gnu.org/issue/36785 > > Best regards, > Mikael