From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#36687: guix gc: error: executing SQLite statement: database disk image is malformed Date: Tue, 16 Jul 2019 14:44:09 +0200 Message-ID: <87tvbmgndy.fsf@elephly.net> References: <87v9w2ctpm.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34596) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnMpN-000206-Np for bug-guix@gnu.org; Tue, 16 Jul 2019 08:45:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnMpL-0007Px-Ra for bug-guix@gnu.org; Tue, 16 Jul 2019 08:45:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40860) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnMpK-0007OA-7l for bug-guix@gnu.org; Tue, 16 Jul 2019 08:45:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnMpJ-0007dn-Vq for bug-guix@gnu.org; Tue, 16 Jul 2019 08:45:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87v9w2ctpm.fsf@gmail.com> 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: cmmarusich@gmail.com Cc: 36687@debbugs.gnu.org Chris Marusich writes: > My disk was filling up, so I tried to run "guix gc", but I got an error > instead: > > --8<---------------cut here---------------start------------->8--- > $ guix gc -C 25GiB > ... > deleting `/gnu/store/n0gyzfw77ik35ld9d0d4737w88f11m4b-profile.drv' > deleting `/gnu/store/fl7w0dlki7c906isiiflf9ka4c49zcmi-ca-certificate-bund= le.drv' > deleting `/gnu/store/ipn4xvvb3wrbx4lhzwdyyylvj42vyg6f-xdg-desktop-databas= e.drv' > guix gc: error: executing SQLite statement: database disk image is malfor= med > --8<---------------cut here---------------end--------------->8--- > > What does this mean? I think this means that the database has been corrupted. > FYI, I was building one package using my Guix installation via "guix > build --cores=3D1", and another package using a Guix checkout via > "./pre-inst-env guix build --cores", when I decided to run this "guix > gc" command in another shell. I don't know if that matters. I don=E2=80=99t think this is related. > My expectation is that I can run GC even when building software, > thanks to the guix-daemon's safe concurrent garbage collection > algorithm. That=E2=80=99s correct. -- Ricardo