From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: bug#32377: guix gc -> build failed: executing SQLite statement: FOREIGN KEY constraint failed Date: Mon, 20 Aug 2018 22:15:26 -0600 Message-ID: <87o9dwmk2p.fsf@jnanam.net> References: <87600nfe7u.fsf@jnanam.net> <87tvnqh2k7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fry5Q-0006hw-Bc for bug-guix@gnu.org; Tue, 21 Aug 2018 00:16:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fry5L-0007PU-OE for bug-guix@gnu.org; Tue, 21 Aug 2018 00:16:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fry5L-0007PF-KP for bug-guix@gnu.org; Tue, 21 Aug 2018 00:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fry5K-0007oq-Th for bug-guix@gnu.org; Tue, 21 Aug 2018 00:16:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87tvnqh2k7.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 32377@debbugs.gnu.org Hello, I have since re-installed Guix on a different (larger) drive on the same machine. > That happens with =E2=80=98guix gc=E2=80=99 without any options? Do all= runs of =E2=80=98guix > gc=E2=80=99 fail like this? > Does =E2=80=98guix gc --verify=E2=80=99 (not =E2=80=98--verify=3Dxyz=E2= =80=99) 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% / ] =E2=80=94Ben On 2018-08-19T08:08:08-0600, Ludovic Court=C3=A8s wrote: > Hello, > Benjamin Slade 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 )