help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stuck with corrupt store


From: Hartmut Goebel
Subject: Stuck with corrupt store
Date: Sun, 12 Jun 2016 13:41:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Hi,

I'm stuck with a corrupt store and can't repair it.

I deleted /gnu/store/*-nose-* (can't remember why). Then I ran guix gc
--verify=repair which reports

  path `/gnu/store/…-python-nose-1.3.7' disappeared, but it still has
valid referrers!

Okay, so let's remove the referrers, too:

   guix gc --referrers /gnu/store/*-nose-* | xargs guix gc -d

Now the  referrers for the next packages appear:

  cannot delete path `/gnu/store/…-python-pytest-2.6.1' since it is
still alive

Okay, to let's "reinstall" the package:

  # guix build python-nose
  /gnu/store/…-python-nose-1.3.7

Hmm, the store seams to mean the package is still there, but it is not :-(

Further when I run guix gc, I get an "FOREIGN KEY constraint failed"
error, which `--verify=repair` is not able to repair.

Is there a way to get out of this mess?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |





reply via email to

[Prev in Thread] Current Thread [Next in Thread]