unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Stuck with corrupt store
@ 2016-06-12 11:41 Hartmut Goebel
  2016-06-12 16:19 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Hartmut Goebel @ 2016-06-12 11:41 UTC (permalink / raw)
  To: help-guix

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          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-12 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-12 11:41 Stuck with corrupt store Hartmut Goebel
2016-06-12 16:19 ` Ludovic Courtès
2016-06-12 16:26   ` Hartmut Goebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).