unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: help-guix <help-guix@gnu.org>
Subject: Stuck with corrupt store
Date: Sun, 12 Jun 2016 13:41:01 +0200	[thread overview]
Message-ID: <575D4A4D.2050005@crazy-compilers.com> (raw)

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 |

             reply	other threads:[~2016-06-12 11:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-12 11:41 Hartmut Goebel [this message]
2016-06-12 16:19 ` Stuck with corrupt store Ludovic Courtès
2016-06-12 16:26   ` Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=575D4A4D.2050005@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).