unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* database disk image is malformed
@ 2018-02-03  9:11 Alex Vong
  2018-02-03  9:28 ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Vong @ 2018-02-03  9:11 UTC (permalink / raw)
  To: help-guix

Hello,

Today, when I run ``guix gc'', I get the following error:

  finding garbage collector roots...
  deleting garbage...
  guix gc: error: build failed: executing SQLite query: database disk image is malformed

What should I do?

Thanks,
Alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: database disk image is malformed
  2018-02-03  9:11 database disk image is malformed Alex Vong
@ 2018-02-03  9:28 ` Ricardo Wurmus
  2018-02-03 10:57   ` Alex Vong
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2018-02-03  9:28 UTC (permalink / raw)
  To: Alex Vong; +Cc: help-guix


Alex Vong <alexvong1995@gmail.com> writes:

> Today, when I run ``guix gc'', I get the following error:
>
>   finding garbage collector roots...
>   deleting garbage...
>   guix gc: error: build failed: executing SQLite query: database disk image is malformed
>
> What should I do?

This may be due to a corrupted file system.  Try running e2fsck on it.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: database disk image is malformed
  2018-02-03  9:28 ` Ricardo Wurmus
@ 2018-02-03 10:57   ` Alex Vong
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Vong @ 2018-02-03 10:57 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: help-guix

Ricardo Wurmus <rekado@elephly.net> writes:

> Alex Vong <alexvong1995@gmail.com> writes:
>
>> Today, when I run ``guix gc'', I get the following error:
>>
>>   finding garbage collector roots...
>>   deleting garbage...
>>   guix gc: error: build failed: executing SQLite query: database
>> disk image is malformed
>>
>> What should I do?
>
> This may be due to a corrupted file system.  Try running e2fsck on it.
>
It works! I do a '$ touch /forcefsck && reboot' and now guix-gc runs
happily again :)

> --
> Ricardo
>
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-03 10:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-03  9:11 database disk image is malformed Alex Vong
2018-02-03  9:28 ` Ricardo Wurmus
2018-02-03 10:57   ` Alex Vong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).