From mboxrd@z Thu Jan 1 00:00:00 1970 From: Divan Santana Subject: Re: Noob issues with maintaining a guix laptop system Date: Wed, 05 Jun 2019 20:27:19 +0200 Message-ID: <87tvd33n20.fsf@santanas.co.za> References: <87r28ak9tn.fsf@santanas.co.za> <20190604061710.nwkbw6uqxyhwhayh@cf0> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:45739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYamu-0002iO-TK for help-guix@gnu.org; Wed, 05 Jun 2019 14:37:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYadE-0001wa-PV for help-guix@gnu.org; Wed, 05 Jun 2019 14:27:29 -0400 Received: from [156.0.193.126] (port=35723 helo=mail.santanas.co.za) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hYadE-0001t3-4T for help-guix@gnu.org; Wed, 05 Jun 2019 14:27:28 -0400 In-reply-to: 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: Julien Lepiller , help-guix@gnu.org, ison Julien Lepiller writes: > Le 4 juin 2019 08:17:11 GMT+02:00, ison a =C3=A9crit : >>Just to be clear, when a reconfigure fails you can make any necessary >>changes >>and run it again. Guix operations are atomic so it doesn't actually >>change the >>state of your system in any way until it finishes. >> >>But, if you're asking about rolling back the "guix pull" so that you >>can run >>reconfigure with the older versions as if you had never ran "guix pull" >>in the >>first place, then I think you could try this: >>guix describe >>which should print out the "commit" used when you last reconfigured the >>system. >>Then you could try the following command with replaced >>with the >>value you got above: >>guix pull --commit=3D >>That should make sure your package data matches what was used last time >>you >>successfully reconfigured. Cool, I'll note for next time it happens and report back if I get stuck. Thanks a lot > That's a good suggestion, except guix describe will tell you the connit o= f the currently installed guix, which is the one you've guix pull'ed to. > > I thenk you can use guix package to manage the guix pull profile, like so: > > guix package -p /var/guix/profiles/per-user/current-guix --list-generatio= ns > > You can also use --roll-back or switch directly to an older generation. > > But in general I think it would be better for you to report your failure(= s) so we can help and fix them :) > >> >>As for the swapfile, it should work exactly how you showed. >>That error makes me think the problem is with how you set up the >>swapfile. Did >>you run "dd" to allocate space for the swapfile? > > And run mkswap on it? I thought I did that, but perhaps not. Either way, your guys advise helped, it's working now, after a mkswap. Than= ks!