From mboxrd@z Thu Jan 1 00:00:00 1970 From: znavko Subject: Re: How to Rescue GuixSD when guile and guix arebroken? Date: Fri, 21 Sep 2018 14:57:43 +0000 Message-ID: References: <871s9nugzx.fsf@elephly.net> Reply-To: znavko Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3MsW-0000hv-HY for help-guix@gnu.org; Fri, 21 Sep 2018 10:57:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3MsT-0000nd-8v for help-guix@gnu.org; Fri, 21 Sep 2018 10:57:56 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:42360) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g3MsS-0000mq-Pt for help-guix@gnu.org; Fri, 21 Sep 2018 10:57:53 -0400 In-Reply-To: <871s9nugzx.fsf@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: "help-guix\\@gnu.org" Thank you, Ricardo Wurmus, for these exact instructions. > If you don=E2=80=99t have this you are likely upgrading from an old versi= on of > Guix before that change was made. In that case you need to upgrade to a > version of Guix that has a guile-gcrypt package, then install it, and > only then run =E2=80=9Cguix pull=E2=80=9D. I have that bin directory: # cd ~/.config/guix/current/bin/ ~/.config/guix/current/bin# ls guix guix-daemon And I have no upgrades for guix. As I thought before upgrading process is `= guix pull && guix package -u ATOM` # guix package -u guix # guix --version guix (GNU Guix) e67ad5532f76b53e955149da2f1e237696ff0893 Copyright (C) 2018 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Did you mean Guix version 67ad5532f76b53e955149da2f1e237696ff0893 that pro= vide gcrypt? Can I run `guix pull` now? =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 =D0=BF=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D0=B0, =D1=81=D0=B5=D0=BD=D1=82=D1= =8F=D0=B1=D1=80=D1=8C 21, 2018 4:17 =D0=B4=D0=BD=D1=8F, Ricardo Wurmus =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Hello, > > > Both times, as I think, it happened this way. I run `guix pull`, > > switch off notebook while it is running (just a mistake) and then I > > run again `guix pull`, it works, but gives the errors. > > The mechanism used by =E2=80=9Cguix pull=E2=80=9D has changed. These erro= rs no longer > happen with the new mechanism. > > > guix gc -R $(readlink -f ~/.config/guix/latest) > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > ~/.config/guix/latest is no longer used. Instead =E2=80=9Cguix pull= =E2=80=9D installs a > full self-contained Guix to ~/.config/guix/current/bin/. > > If you don=E2=80=99t have this you are likely upgrading from an old versi= on of > Guix before that change was made. In that case you need to upgrade to a > version of Guix that has a guile-gcrypt package, then install it, and > only then run =E2=80=9Cguix pull=E2=80=9D. > > With the new mechanism you can simply use any of the older variants of > Guix you have in ~/.config/guix/current-n-link/bin. > > Hope this helps! > > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------------------------------------------------------------ > > Ricardo