Subject: bug#36687: guix gc: error: executing SQLite statement: database disk image is malformed

From: Ricardo Wurmus <[email-masked]>
Date: Fri, 19 Jul 2019 10:04:02 +0200

Chris Marusich <[email-masked]> writes:

> is there anything we can check to understand why the database
> corruption has occurred?
[…]
> For the record, I do sometimes abruptly power off my machine, and it
> does rarely abruptly crash (I think I have reported this when it occurs,
> but I can't be sure).

This can be a cause of corruption.

Have you manually run fsck on the unmounted disk yet?

-- 
Ricardo