GNU bug report logs - #36706
"guix gc --verify" fails with "FOREIGN KEY constraint failed"

Previous Next

Package: guix;

Reported by: Ingo Ruhnke <grumbel <at> gmail.com>

Date: Wed, 17 Jul 2019 17:35:02 UTC

Severity: normal

Full log


Message #8 received at 36706 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: grumbel <at> gmail.com
Cc: 36706 <at> debbugs.gnu.org
Subject: Re: bug#36706: "guix gc --verify" fails with "FOREIGN KEY constraint
 failed"
Date: Wed, 17 Jul 2019 22:02:04 +0200
Ingo Ruhnke <grumbel <at> gmail.com> writes:

> I am using guix on Ubuntu 19.04, due to some unrelated BTRFS problems I
> needed to free some space and did a quick:
>
>     $ rm -rv /gnu/store/*libreoff*

This is bad and you cannot recover from it.  The store should *never* be
edited manually as it will become inconsistent with the database (which
I assume you have not edited).

You should use “guix gc” instead to remove unused items from the store.

-- 
Ricardo





This bug report was last modified 5 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.