unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Benjamin Slade <slade@jnanam.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 32377@debbugs.gnu.org
Subject: bug#32377: guix gc -> build failed: executing SQLite statement: FOREIGN KEY constraint failed
Date: Mon, 20 Aug 2018 22:15:26 -0600	[thread overview]
Message-ID: <87o9dwmk2p.fsf@jnanam.net> (raw)
In-Reply-To: <87tvnqh2k7.fsf@gnu.org>

Hello,

I have since re-installed Guix on a different (larger) drive on the same
machine.

 > That happens with ‘guix gc’ without any options?  Do all runs of ‘guix
 > gc’ fail like this?

 > Does ‘guix gc --verify’ (not ‘--verify=xyz’) fail as well?

I tried various combinations/option of `guix gc`; whatever ones failed
with that message always failed with that message. I *think* (but am not
certain) that `guix gc --verify` may have not given any output, but
running it in any case did not affect `guix gc` producing the error
message.

I don't know if it was connected, but I also found that `/gnu` was
trying to use more than twice the number of available inodes.

[On my new install, I have not had these issues, though `/gnu` does seem
to use a worrying number of inodes:

Filesystem               Inodes   IUsed    IFree IUse% Mounted on
/dev/sda2               6553600 4052120  2501480   62% /

versus lots of free space remaining:

Filesystem             Type      Size  Used Avail Use% Mounted on
/dev/sda2              ext4       98G   40G   54G  43% /

]

 —Ben


On 2018-08-19T08:08:08-0600, Ludovic Courtès <ludo@gnu.org> wrote:

 > Hello,

 > Benjamin Slade <slade@jnanam.net> skribis:

 > > I'm running the latest GuixSD, and when I run:
 > >
 > > `guix gc`
 > >
 > > I get the error:
 > > build failed: executing SQLite statement: FOREIGN KEY constraint failed


--
Benjamin Slade - https://babbagefiles.xyz
  `(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
    '(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
       `(Choose Linux ,(Choose Freedom) . https://linux.com )

  reply	other threads:[~2018-08-21  4:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-06 20:10 bug#32377: guix gc -> build failed: executing SQLite statement: FOREIGN KEY constraint failed Benjamin Slade
2018-08-19 14:08 ` Ludovic Courtès
2018-08-21  4:15   ` Benjamin Slade [this message]
2018-08-21 10:31     ` Ludovic Courtès

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=87o9dwmk2p.fsf@jnanam.net \
    --to=slade@jnanam.net \
    --cc=32377@debbugs.gnu.org \
    --cc=ludo@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.
Code repositories for project(s) associated with this public inbox

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

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