[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recovering from broken Guix due to GC'd derivations
From: |
Ludovic Courtès |
Subject: |
Re: Recovering from broken Guix due to GC'd derivations |
Date: |
Mon, 11 Jun 2018 13:08:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi Mike,
Mike Gerwitz <address@hidden> skribis:
> On Sun, Jun 10, 2018 at 18:45:19 +0200, Ludovic Courtès wrote:
>> Hello Mike,
>>
>> Mike Gerwitz <address@hidden> 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 ‘localstatedir’ 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 ‘guix gc --verify’? I don’t see how one
could end up in such a state, unless there’s some hard disk corruption
or something.
Ludo’.