From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#37662: substitution failure of nss-certs Date: Thu, 17 Oct 2019 11:13:26 +0200 Message-ID: <87eezbrayx.fsf@gnu.org> References: <87a7abwcav.fsf@inv.alid.pw> <877e5cy8np.fsf@gnu.org> <877e55an15.fsf@inv.alid.pw> <611eb65b-6b21-3a03-2dc7-c3bebb7a6328@stumbles.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:50526) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL1rA-00009D-1G for bug-guix@gnu.org; Thu, 17 Oct 2019 05:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL1r8-0006EZ-M2 for bug-guix@gnu.org; Thu, 17 Oct 2019 05:14:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL1r8-0006EN-Ig for bug-guix@gnu.org; Thu, 17 Oct 2019 05:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iL1r8-0004BX-Cl for bug-guix@gnu.org; Thu, 17 Oct 2019 05:14:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <611eb65b-6b21-3a03-2dc7-c3bebb7a6328@stumbles.id.au> (Ben Sturmfels's message of "Thu, 17 Oct 2019 16:07:37 +1100") 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.org@gnu.org Sender: "bug-Guix" To: Ben Sturmfels Cc: 37662@debbugs.gnu.org, Josh Holland Hi, Ben Sturmfels skribis: > On 16/10/19 06:50, Arun Isaac wrote: >>=20 >> Josh Holland writes: >>=20 >>> Ludovic Court=C3=A8s writes: >>>> I suppose the error here is because you=E2=80=99re daemon is missing i= ts UTF-8 >>>> locales. >>>> >>>> This could be because you upgraded the daemon but did not upgrade the >>>> =E2=80=98glibc-utf8-locales=E2=80=99 or =E2=80=98glibc-locales=E2=80= =99 you installed as root, no? >>> >>> It's possible - I rarely do anything with the root profile, and wasn't >>> even aware that I had to keep it up to date. Should I have to `guix >>> pull` and `guix upgrade` it regularly, as well as my user profile? >>=20 >> I install glibc-locales as a system-wide package in my operating-system >> configuration. Perhaps that's what Ludo meant to say. > > Hi Ludo, is it best to install glibc-locales or glibc-utf8-locales in > the operating system configuration as Arun suggests? It=E2=80=99s best to install none of these. :-) On Guix System, the mechanism is more fine-grained: the admin declares precisely the locales they want in the =E2=80=98locale=E2=80=99 and =E2=80= =98locale-definitions=E2=80=99 fields, and only those get installed. See . > I hit the same issue doing a reconfigure on Guix System after not having > these locales either in user, root or system profiles (though I'm unsure > whether root and system are the same thing). This is probably due to the switch to glibc 2.29: your system now provides locales for glibc 2.29 only, but if you have binaries linked against 2.28, they need 2.28 locale data. To do that, add =E2=80=98glibc-2.28=E2=80=99 to the =E2=80=98locale-libcs= =E2=80=99 field: . (Normally =E2=80=98guix pull --news=E2=80=99 mentioned it when you upgraded= .) Perhaps on we should just add the current and previous glibc to =E2=80=98locale-libcs=E2=80=99 by default. HTH! Ludo=E2=80=99.