all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: cmmarusich@gmail.com
Cc: 36687@debbugs.gnu.org
Subject: bug#36687: guix gc: error: executing SQLite statement: database disk image is malformed
Date: Tue, 16 Jul 2019 14:44:09 +0200	[thread overview]
Message-ID: <87tvbmgndy.fsf@elephly.net> (raw)
In-Reply-To: <87v9w2ctpm.fsf@gmail.com>


Chris Marusich <cmmarusich@gmail.com> 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-bundle.drv'
> deleting `/gnu/store/ipn4xvvb3wrbx4lhzwdyyylvj42vyg6f-xdg-desktop-database.drv'
> guix gc: error: executing SQLite statement: database disk image is malformed
> --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=1", 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’t 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’s correct.

--
Ricardo

  reply	other threads:[~2019-07-16 12:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-16  7:41 bug#36687: guix gc: error: executing SQLite statement: database disk image is malformed Chris Marusich
2019-07-16 12:44 ` Ricardo Wurmus [this message]
2019-07-19  5:30   ` Chris Marusich
2019-07-19  8:04     ` Ricardo Wurmus
2019-08-03  9:11       ` Chris Marusich
2019-08-03 13:06         ` Mike Gerwitz
2019-11-16 23:30     ` Chris Marusich
2023-12-30  2:25 ` pkill9 via Bug reports for GNU Guix

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvbmgndy.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=36687@debbugs.gnu.org \
    --cc=cmmarusich@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.