all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* Re: Stuck with corrupt store
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2016-06-12 16:19 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: help-guix

Hi!

Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:

> I deleted /gnu/store/*-nose-* (can't remember why).

You deleted with “rm -rf”?

In that case, even though ‘guix gc --verify=repair’ should be able to
help, remember that this voids your warranty.  :-)

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

Someone already reported it, so there may be a bug here.  I’ll see if we
can reproduce it.

Ludo’.

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

* Re: Stuck with corrupt store
  2016-06-12 16:19 ` Ludovic Courtès
@ 2016-06-12 16:26   ` Hartmut Goebel
  0 siblings, 0 replies; 3+ messages in thread
From: Hartmut Goebel @ 2016-06-12 16:26 UTC (permalink / raw)
  To: help-guix

Hi,

Am 12.06.2016 um 18:19 schrieb Ludovic Courtès:
> Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:
>
>> I deleted /gnu/store/*-nose-* (can't remember why).
> You deleted with “rm -rf”?
>
> In that case, even though ‘guix gc --verify=repair’ should be able to
> help, remember that this voids your warranty.  :-)

Well, then I lost warranty quite some weeks ago ;-)

Anyway, since I did not manage to solve this and wanted to continue
working, I reinstalled guix from scratch. Since I'm using guix on top of
another distribution, this is not much of a problem.

-- 
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.