Subject: bug#33862: "guix gc" failing to complete

From: Ethan O'Quin <[email-masked]>
Date: Mon, 24 Dec 2018 22:33:47 +0000

Every time I run "guix gc" the process fails with:

"guix gc: error: build failed: executing SQLite statement: FOREIGN KEY constraint failed"

This occurs every time "guix gc" is run, although it progresses for a moment before it fails.

The issue was encountered on guix 0.16.0-7.6f1e0bb on GuixSD as of December 24, although I have encountered it repeatedly back to some time in October, possibly earlier.