From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Recovering from broken Guix due to GC'd derivations Date: Mon, 11 Jun 2018 13:08:52 +0200 Message-ID: <87d0wxlgvv.fsf@gnu.org> References: <87vaarfli2.fsf@gnu.org> <878t7mh9pc.fsf@gnu.org> <87d0wye257.fsf@gnu.org> 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]:60867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSKh1-0004Ks-E0 for help-guix@gnu.org; Mon, 11 Jun 2018 07:09:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSKgx-0006YS-AO for help-guix@gnu.org; Mon, 11 Jun 2018 07:08:59 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSKgx-0006YM-74 for help-guix@gnu.org; Mon, 11 Jun 2018 07:08:55 -0400 In-Reply-To: <87d0wye257.fsf@gnu.org> (Mike Gerwitz's message of "Sun, 10 Jun 2018 17:56:52 -0400") 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: Mike Gerwitz Cc: help-guix@gnu.org Hi Mike, Mike Gerwitz skribis: > On Sun, Jun 10, 2018 at 18:45:19 +0200, Ludovic Court=C3=A8s wrote: >> Hello Mike, >> >> Mike Gerwitz skribis: >> >>> Any pull or package install operations that I attempt give me an error >>> like this (the exact derivation varies between my user and root, but >>> they're both Perl): >>> >>> guix pull: error: open-file: No such file or directory: >>> "/gnu/store/fq9583a3w3is0r1yrjxg1znfz2qkvg78-perl-5.26.2.tar.xz.drv" >> >> This cannot happen under normal circumstances, as we say. Could it be >> that you run a Guix configured with a different =E2=80=98localstatedir= =E2=80=99 than the >> original one that populated /gnu/store? > > I've never done anything other than a normal `guix pull`. When I was > working on the `guix environment` changes for containers months ago, I > was using `pre-inst-env', but nothing other than that. I didn't provide > any options to `configure' or anything change any other env vars. > > Since before March, I've just been using a vanilla guix (rather than my > local git checkout). Hmm weird. Did you try running =E2=80=98guix gc --verify=E2=80=99? I don= =E2=80=99t see how one could end up in such a state, unless there=E2=80=99s some hard disk corrupt= ion or something. Ludo=E2=80=99.